forked from premium-minds/sonar-postgres-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathToken.java.patch
22 lines (19 loc) · 908 Bytes
/
Token.java.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/src/main/java/com/premiumminds/sonar/postgres/protobuf/Token.java b/src/main/java/com/premiumminds/sonar/postgres/protobuf/Token.java
index 0748d8e..4fbf021 100644
--- a/src/main/java/com/premiumminds/sonar/postgres/protobuf/Token.java
+++ b/src/main/java/com/premiumminds/sonar/postgres/protobuf/Token.java
@@ -4941,7 +4941,7 @@ public enum Token
return com.premiumminds.sonar.postgres.protobuf.PgQuery.getDescriptor().getEnumTypes().get(63);
}
- private static final Token[] VALUES = values();
+ private static final Token[] INTERNAL_VALUES = values();
public static Token valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
@@ -4952,7 +4952,7 @@ public enum Token
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
- return VALUES[desc.getIndex()];
+ return INTERNAL_VALUES[desc.getIndex()];
}
private final int value;