Skip to content

Commit

Permalink
Enable sorting of the default modifier.
Browse files Browse the repository at this point in the history
MOE_MIGRATED_REVID=135116130
  • Loading branch information
rossjudson authored and cushon committed Oct 10, 2016
1 parent bab0625 commit 48be506
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ static Modifier getModifier(int tokenId) {
case ITerminalSymbols.TokenNamestatic:
return Modifier.STATIC;
case ITerminalSymbols.TokenNamedefault:
// TODO(cushon): handle default
// return Modifier.DEFAULT;
return null;
return Modifier.DEFAULT;
case ITerminalSymbols.TokenNamefinal:
return Modifier.FINAL;
case ITerminalSymbols.TokenNametransient:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import com.google.common.base.Joiner;
import com.google.common.collect.Range;
import java.util.Arrays;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
Expand Down Expand Up @@ -53,7 +52,6 @@ public void everything() throws FormatterException {
+ " native strictfp");
}

@Ignore
@Test
public void everythingIncludingDefault() throws FormatterException {
assertThat(
Expand Down

0 comments on commit 48be506

Please sign in to comment.