Skip to content

Commit

Permalink
Remove deprecated method Token.name
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=127147771
  • Loading branch information
tbreisacher authored and blickly committed Jul 12, 2016
1 parent 19acab0 commit b669fdd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/com/google/javascript/rhino/Token.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,6 @@ public enum Token {
PLACEHOLDER1,
PLACEHOLDER2;

@Deprecated
public static String name(Token token) {
return token.toString();
}

/** If the arity isn't always the same, this function returns -1 */
public static int arity(Token token) {
switch (token) {
Expand Down

0 comments on commit b669fdd

Please sign in to comment.