-
Notifications
You must be signed in to change notification settings - Fork 1
/
Token.java.patch
31 lines (28 loc) · 1.11 KB
/
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
23
24
25
26
27
28
29
30
31
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 13968c6..8ffb3a2 100644
--- a/src/main/java/com/premiumminds/sonar/postgres/protobuf/Token.java
+++ b/src/main/java/com/premiumminds/sonar/postgres/protobuf/Token.java
@@ -3347,7 +3347,7 @@ public enum Token
/**
* <code>JSON = 485;</code>
*/
- public static final int JSON_VALUE = 485;
+ public static final int JSON_ENUM_VALUE = 485;
/**
* <code>JSON_ARRAY = 486;</code>
*/
@@ -5121,7 +5121,7 @@ public enum Token
return com.premiumminds.sonar.postgres.protobuf.PgQuery.getDescriptor().getEnumTypes().get(70);
}
- private static final Token[] VALUES = values();
+ private static final Token[] INTERNAL_VALUES = values();
public static Token valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
@@ -5132,7 +5132,7 @@ public enum Token
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
- return VALUES[desc.getIndex()];
+ return INTERNAL_VALUES[desc.getIndex()];
}
private final int value;