Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moe Sync #1023

Merged
merged 11 commits into from
May 9, 2018
Merged

Moe Sync #1023

merged 11 commits into from
May 9, 2018

Conversation

ronshapiro
Copy link
Contributor

This code has been reviewed and submitted internally. Feel free to discuss on the PR and we can submit follow-up changes as necessary.

Commits:

Improve error handling in compilesWithFix

"Fixes" #849

RELNOTES: N/A

9f94242


Call out UncheckedIOException as a java8 addition

97f316e


Make SuggestedFixes.removeModifiers remove all modifiers specified, not simply the first found

RELNOTES: Make SuggestedFixes.removeModifiers remove more than one modifier

342d17c


Make the opensource filegroup depend on compiled proto jars so we don't have to manually regenerate java protos.

RELNOTES: N/A

65efe1e


Update documentation around CheckReturnValueIgnored

RELNOTES: n/a

b1f0436


Add fix suggestions to UngroupedOverloads summary

RELNOTES: N/A

d2a0a39


Internal change to the documentation generator

RELNOTES: n/a

e00f68e


Make ByteBufferBackingArray documentation of restrictions clearer

1684e4c


Add support for detecting type annotations across compilation boundaries

RELNOTES: N/A

b86e2f5


SuggestedFixes: make addModifiers and removeModifiers emit whitespace consistently on the RHS.

This is to allow a remove followed by an add not to have overlapping ranges.

RELNOTES: None

2f24601


Handle empty replacement ranges correctly in Replacements.overlap

Because TreeMap.put is a no-op for empty ranges, previous empty replacement ranges are not considered in the overlap check. This means that overlapping replacements may not be rejected, depending upon the order of addition.

RELNOTES: None

b1ba43d

cushon and others added 11 commits May 8, 2018 18:29
"Fixes" #849

RELNOTES: N/A

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195434516
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195435422
…ot simply the first found

RELNOTES: Make SuggestedFixes.removeModifiers remove more than one modifier

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195462090
…'t have to manually regenerate java protos.

RELNOTES: N/A

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195467370
RELNOTES: n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195469089
RELNOTES: N/A

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195472123
RELNOTES: n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195489476
RELNOTES: N/A

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195505180
… consistently on the RHS.

This is to allow a remove followed by an add not to have overlapping ranges.

RELNOTES: None

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195505303
Because TreeMap.put is a no-op for empty ranges, previous empty replacement ranges are not considered in the overlap check. This means that overlapping replacements may not be rejected, depending upon the order of addition.

RELNOTES: None

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=195542795
@@ -734,7 +743,7 @@ public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOExcept
try {
newTask.analyze();
} catch (Throwable e) {
// ignored
return false; // ¯\_(ツ)_/¯
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆 Thanks @cushon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants