Skip to content

Commit

Permalink
Migrate import removal to javac's AST
Browse files Browse the repository at this point in the history
MOE_MIGRATED_REVID=137188041
  • Loading branch information
cushon committed Oct 27, 2016
1 parent 46c17fa commit 13f608b
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 125 deletions.
Expand Up @@ -91,7 +91,7 @@ public final class Formatter {

static final Range<Integer> EMPTY_RANGE = Range.closedOpen(-1, -1);

private static final Predicate<Diagnostic<?>> ERROR_DIAGNOSTIC =
static final Predicate<Diagnostic<?>> ERROR_DIAGNOSTIC =
new Predicate<Diagnostic<?>>() {
@Override
public boolean apply(Diagnostic<?> input) {
Expand Down
Expand Up @@ -14,9 +14,6 @@

package com.google.googlejavaformat.java;

import com.google.common.base.MoreObjects;

public class GoogleJavaFormatVersion {
public static final String VERSION =
MoreObjects.firstNonNull(Main.class.getPackage().getImplementationVersion(), "dev");
public static final String VERSION = "1.0";
}

0 comments on commit 13f608b

Please sign in to comment.