Skip to content

Commit

Permalink
Removes "-preview" hack for Android build tools version attribute.
Browse files Browse the repository at this point in the history
This has been a no-op since commit 9a21e20.

--
MOS_MIGRATED_REVID=127771957
  • Loading branch information
Googler authored and dslomov committed Jul 19, 2016
1 parent 063b488 commit 792a9d6
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,6 @@ public static class FullRevisionConverter implements Converter<FullRevision> {
@Override
public FullRevision convert(String input) throws OptionsParsingException {
try {
// TODO(bazel-team): The current version of FullRevision doesn't know
// how to properly parse build tool revisions with "-preview", and
// upgrading to the lastest version will take time. Since we don't
// currently need to distinguish between preview and non-preview build
// tools, for now just remove the suffix.
input = input.replace("-preview", "");
return FullRevision.parseRevision(input);
} catch (NumberFormatException e) {
throw new OptionsParsingException(e.getMessage());
Expand Down

0 comments on commit 792a9d6

Please sign in to comment.