File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,6 @@ public final class Acl implements Serializable {
4949 public static final class Role extends StringEnumValue {
5050 private static final long serialVersionUID = -1992679397135956912L ;
5151
52- private Role (String constant ) {
53- super (constant );
54- }
55-
5652 private static final ApiFunction <String , Role > CONSTRUCTOR =
5753 new ApiFunction <String , Role >() {
5854 @ Override
@@ -80,6 +76,10 @@ public Role apply(String constant) {
8076 */
8177 public static final Role OWNER = type .createAndRegister ("OWNER" );
8278
79+ private Role (String constant ) {
80+ super (constant );
81+ }
82+
8383 /**
8484 * Get the Role for the given String constant, and throw an exception if the constant is
8585 * not recognized.
Original file line number Diff line number Diff line change @@ -41,10 +41,6 @@ public class JobStatus implements Serializable {
4141 public static final class State extends StringEnumValue {
4242 private static final long serialVersionUID = 818920627219751204L ;
4343
44- private State (String constant ) {
45- super (constant );
46- }
47-
4844 private static final ApiFunction <String , State > CONSTRUCTOR =
4945 new ApiFunction <String , State >() {
5046 @ Override
@@ -73,6 +69,10 @@ public State apply(String constant) {
7369 */
7470 public static final State DONE = type .createAndRegister ("DONE" );
7571
72+ private State (String constant ) {
73+ super (constant );
74+ }
75+
7676 /**
7777 * Get the State for the given String constant, and throw an exception if the constant is
7878 * not recognized.
Original file line number Diff line number Diff line change @@ -43,10 +43,6 @@ public abstract class TableDefinition implements Serializable {
4343 public static final class Type extends StringEnumValue {
4444 private static final long serialVersionUID = -551560816480511474L ;
4545
46- private Type (String constant ) {
47- super (constant );
48- }
49-
5046 private static final ApiFunction <String , Type > CONSTRUCTOR =
5147 new ApiFunction <String , Type >() {
5248 @ Override
@@ -82,6 +78,10 @@ public Type apply(String constant) {
8278 */
8379 public static final Type EXTERNAL = type .createAndRegister ("EXTERNAL" );
8480
81+ private Type (String constant ) {
82+ super (constant );
83+ }
84+
8585 /**
8686 * Get the Type for the given String constant, and throw an exception if the constant is
8787 * not recognized.
You can’t perform that action at this time.
0 commit comments