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