Skip to content

Commit

Permalink
Replace bunch of ifs with switch on TermType
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Jul 2, 2020
1 parent 83c5cf3 commit 51e9e9b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions org.spoofax.terms/src/org/spoofax/terms/LazyTerm.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ public TermType getType() {
return getWrapped().getType();
}

@Override
public TermType getType() {
return getWrapped().getType();
}

@Deprecated
@Override
public void prettyPrint(ITermPrinter pp) {
Expand Down

0 comments on commit 51e9e9b

Please sign in to comment.