Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=256430058
  • Loading branch information
nanaze authored and EatingW committed Jul 8, 2019
1 parent f651e3d commit 52f22ff
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/com/google/javascript/jscomp/NodeUtilTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package com.google.javascript.jscomp;

import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkState;
import static com.google.common.truth.Truth.assertThat;
import static com.google.common.truth.Truth.assertWithMessage;
Expand Down Expand Up @@ -103,11 +102,6 @@ private Node parse(String js) {
return n;
}

private Compiler getCompiler() {
checkNotNull(compiler, "no parse method called yet");
return compiler;
}

private Node parseFirst(Token token, String js) {
Node rootNode = this.parse(js);
checkState(rootNode.isScript(), rootNode);
Expand Down

0 comments on commit 52f22ff

Please sign in to comment.