Skip to content

Commit

Permalink
Delete the code that worked around a method reordering bug in Eclipse…
Browse files Browse the repository at this point in the history
…. The bug was fixed in Eclipse 4.5, which was released in June 2015. Users who need to use AutoValue with earlier versions of Eclipse will have to stay on AutoValue 1.4.

Fixes #383

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=152273001
  • Loading branch information
eamonnmcmanus committed Apr 6, 2017
1 parent e92a6be commit cb5170f
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 912 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,6 @@ private TypeSimplifier defineVarsForType(
errorReporter.reportError("Primitive types cannot be @Nullable", method);
}
}
// If we are running from Eclipse, undo the work of its compiler which sorts methods.
eclipseHack.reorderProperties(props);
vars.props = ImmutableSet.copyOf(props);
vars.serialVersionUID = getSerialVersionUID(type);
vars.formalTypes = typeSimplifier.formalTypeParametersString(type);
Expand Down
Loading

0 comments on commit cb5170f

Please sign in to comment.