Skip to content

Commit

Permalink
Use the Scope interface instead of referring to WriteableScope
Browse files Browse the repository at this point in the history
RELNOTES: N/A

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=155654655
  • Loading branch information
cushon authored and ronshapiro committed May 24, 2017
1 parent 0aeddc5 commit f926bb1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -26,7 +26,7 @@
import com.sun.source.tree.ClassTree; import com.sun.source.tree.ClassTree;
import com.sun.source.tree.ExpressionTree; import com.sun.source.tree.ExpressionTree;
import com.sun.source.tree.MethodTree; import com.sun.source.tree.MethodTree;
import com.sun.tools.javac.code.Scope.WriteableScope; import com.sun.tools.javac.code.Scope;
import com.sun.tools.javac.code.Symbol; import com.sun.tools.javac.code.Symbol;
import com.sun.tools.javac.code.Symbol.MethodSymbol; import com.sun.tools.javac.code.Symbol.MethodSymbol;
import com.sun.tools.javac.code.Type; import com.sun.tools.javac.code.Type;
Expand Down Expand Up @@ -106,7 +106,7 @@ public static boolean implementsEquals(Type type, VisitorState state) {
if (ASTHelpers.isSameType(sup, state.getSymtab().objectType, state)) { if (ASTHelpers.isSameType(sup, state.getSymtab().objectType, state)) {
return false; return false;
} }
WriteableScope scope = sup.tsym.members(); Scope scope = sup.tsym.members();
if (scope == null) { if (scope == null) {
continue; continue;
} }
Expand Down

0 comments on commit f926bb1

Please sign in to comment.