@@ -43,7 +43,7 @@ public class ExtendedScalars {
43
43
* @see java.time.OffsetDateTime
44
44
* @see java.time.ZonedDateTime
45
45
*/
46
- public static GraphQLScalarType DateTime = DateTimeScalar .INSTANCE ;
46
+ public static final GraphQLScalarType DateTime = DateTimeScalar .INSTANCE ;
47
47
48
48
/**
49
49
* An RFC-3339 compliant date scalar that accepts string values like `1996-12-19` and produces
@@ -56,7 +56,7 @@ public class ExtendedScalars {
56
56
*
57
57
* @see java.time.LocalDate
58
58
*/
59
- public static GraphQLScalarType Date = DateScalar .INSTANCE ;
59
+ public static final GraphQLScalarType Date = DateScalar .INSTANCE ;
60
60
/**
61
61
* An RFC-3339 compliant time scalar that accepts string values like `6:39:57-08:00` and produces
62
62
* `java.time.OffsetTime` objects at runtime.
@@ -68,7 +68,7 @@ public class ExtendedScalars {
68
68
*
69
69
* @see java.time.OffsetTime
70
70
*/
71
- public static GraphQLScalarType Time = TimeScalar .INSTANCE ;
71
+ public static final GraphQLScalarType Time = TimeScalar .INSTANCE ;
72
72
73
73
/**
74
74
* A 24-hour local time scalar that accepts strings like `hh:mm:ss` and `hh:mm:ss.sss` and produces
@@ -79,7 +79,7 @@ public class ExtendedScalars {
79
79
*
80
80
* @see java.time.LocalTime
81
81
*/
82
- public static GraphQLScalarType LocalTime = GraphQLScalarType .newScalar ()
82
+ public static final GraphQLScalarType LocalTime = GraphQLScalarType .newScalar ()
83
83
.name ("LocalTime" )
84
84
.description ("24-hour clock time value string in the format `hh:mm:ss` or `hh:mm:ss.sss`." )
85
85
.coercing (new LocalTimeCoercing ())
@@ -108,7 +108,7 @@ public class ExtendedScalars {
108
108
*
109
109
* @see #Json
110
110
*/
111
- public static GraphQLScalarType Object = ObjectScalar .INSTANCE ;
111
+ public static final GraphQLScalarType Object = ObjectScalar .INSTANCE ;
112
112
113
113
/**
114
114
* A synonym class for the {@link #Object} scalar, since some people prefer their SDL to look like the following :
@@ -125,18 +125,18 @@ public class ExtendedScalars {
125
125
*
126
126
* @see graphql.scalars.ExtendedScalars#Object
127
127
*/
128
- public static GraphQLScalarType Json = JsonScalar .INSTANCE ;
128
+ public static final GraphQLScalarType Json = JsonScalar .INSTANCE ;
129
129
130
130
/**
131
131
* A URL scalar that accepts URL strings and produces {@link java.net.URL} objects at runtime
132
132
*/
133
- public static GraphQLScalarType Url = UrlScalar .INSTANCE ;
133
+ public static final GraphQLScalarType Url = UrlScalar .INSTANCE ;
134
134
135
135
/**
136
136
* A Locale scalar that accepts a IETF BCP 47 language tag string and produces {@link
137
137
* java.util.Locale} objects at runtime.
138
138
*/
139
- public static GraphQLScalarType Locale = LocaleScalar .INSTANCE ;
139
+ public static final GraphQLScalarType Locale = LocaleScalar .INSTANCE ;
140
140
141
141
/**
142
142
* A UUID scalar that accepts a universally unique identifier and produces {@link
@@ -149,50 +149,50 @@ public class ExtendedScalars {
149
149
*
150
150
* @see graphql.Scalars#GraphQLInt
151
151
*/
152
- public static GraphQLScalarType PositiveInt = PositiveIntScalar .INSTANCE ;
152
+ public static final GraphQLScalarType PositiveInt = PositiveIntScalar .INSTANCE ;
153
153
/**
154
154
* An `Int` scalar that MUST be less than zero
155
155
*
156
156
* @see graphql.Scalars#GraphQLInt
157
157
*/
158
- public static GraphQLScalarType NegativeInt = NegativeIntScalar .INSTANCE ;
158
+ public static final GraphQLScalarType NegativeInt = NegativeIntScalar .INSTANCE ;
159
159
/**
160
160
* An `Int` scalar that MUST be less than or equal to zero
161
161
*
162
162
* @see graphql.Scalars#GraphQLInt
163
163
*/
164
- public static GraphQLScalarType NonPositiveInt = NonPositiveIntScalar .INSTANCE ;
164
+ public static final GraphQLScalarType NonPositiveInt = NonPositiveIntScalar .INSTANCE ;
165
165
/**
166
166
* An `Int` scalar that MUST be greater than or equal to zero
167
167
*
168
168
* @see graphql.Scalars#GraphQLInt
169
169
*/
170
- public static GraphQLScalarType NonNegativeInt = NonNegativeIntScalar .INSTANCE ;
170
+ public static final GraphQLScalarType NonNegativeInt = NonNegativeIntScalar .INSTANCE ;
171
171
172
172
/**
173
173
* An `Float` scalar that MUST be greater than zero
174
174
*
175
175
* @see graphql.Scalars#GraphQLFloat
176
176
*/
177
- public static GraphQLScalarType PositiveFloat = PositiveFloatScalar .INSTANCE ;
177
+ public static final GraphQLScalarType PositiveFloat = PositiveFloatScalar .INSTANCE ;
178
178
/**
179
179
* An `Float` scalar that MUST be less than zero
180
180
*
181
181
* @see graphql.Scalars#GraphQLFloat
182
182
*/
183
- public static GraphQLScalarType NegativeFloat = NegativeFloatScalar .INSTANCE ;
183
+ public static final GraphQLScalarType NegativeFloat = NegativeFloatScalar .INSTANCE ;
184
184
/**
185
185
* An `Float` scalar that MUST be less than or equal to zero
186
186
*
187
187
* @see graphql.Scalars#GraphQLFloat
188
188
*/
189
- public static GraphQLScalarType NonPositiveFloat = NonPositiveFloatScalar .INSTANCE ;
189
+ public static final GraphQLScalarType NonPositiveFloat = NonPositiveFloatScalar .INSTANCE ;
190
190
/**
191
191
* An `Float` scalar that MUST be greater than or equal to zero
192
192
*
193
193
* @see graphql.Scalars#GraphQLFloat
194
194
*/
195
- public static GraphQLScalarType NonNegativeFloat = NonNegativeFloatScalar .INSTANCE ;
195
+ public static final GraphQLScalarType NonNegativeFloat = NonNegativeFloatScalar .INSTANCE ;
196
196
197
197
198
198
/**
0 commit comments