@@ -43,7 +43,7 @@ public class ExtendedScalars {
4343 * @see java.time.OffsetDateTime
4444 * @see java.time.ZonedDateTime
4545 */
46- public static GraphQLScalarType DateTime = DateTimeScalar .INSTANCE ;
46+ public static final GraphQLScalarType DateTime = DateTimeScalar .INSTANCE ;
4747
4848 /**
4949 * An RFC-3339 compliant date scalar that accepts string values like `1996-12-19` and produces
@@ -56,7 +56,7 @@ public class ExtendedScalars {
5656 *
5757 * @see java.time.LocalDate
5858 */
59- public static GraphQLScalarType Date = DateScalar .INSTANCE ;
59+ public static final GraphQLScalarType Date = DateScalar .INSTANCE ;
6060 /**
6161 * An RFC-3339 compliant time scalar that accepts string values like `6:39:57-08:00` and produces
6262 * `java.time.OffsetTime` objects at runtime.
@@ -68,7 +68,7 @@ public class ExtendedScalars {
6868 *
6969 * @see java.time.OffsetTime
7070 */
71- public static GraphQLScalarType Time = TimeScalar .INSTANCE ;
71+ public static final GraphQLScalarType Time = TimeScalar .INSTANCE ;
7272
7373 /**
7474 * 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 {
7979 *
8080 * @see java.time.LocalTime
8181 */
82- public static GraphQLScalarType LocalTime = GraphQLScalarType .newScalar ()
82+ public static final GraphQLScalarType LocalTime = GraphQLScalarType .newScalar ()
8383 .name ("LocalTime" )
8484 .description ("24-hour clock time value string in the format `hh:mm:ss` or `hh:mm:ss.sss`." )
8585 .coercing (new LocalTimeCoercing ())
@@ -108,7 +108,7 @@ public class ExtendedScalars {
108108 *
109109 * @see #Json
110110 */
111- public static GraphQLScalarType Object = ObjectScalar .INSTANCE ;
111+ public static final GraphQLScalarType Object = ObjectScalar .INSTANCE ;
112112
113113 /**
114114 * 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 {
125125 *
126126 * @see graphql.scalars.ExtendedScalars#Object
127127 */
128- public static GraphQLScalarType Json = JsonScalar .INSTANCE ;
128+ public static final GraphQLScalarType Json = JsonScalar .INSTANCE ;
129129
130130 /**
131131 * A URL scalar that accepts URL strings and produces {@link java.net.URL} objects at runtime
132132 */
133- public static GraphQLScalarType Url = UrlScalar .INSTANCE ;
133+ public static final GraphQLScalarType Url = UrlScalar .INSTANCE ;
134134
135135 /**
136136 * A Locale scalar that accepts a IETF BCP 47 language tag string and produces {@link
137137 * java.util.Locale} objects at runtime.
138138 */
139- public static GraphQLScalarType Locale = LocaleScalar .INSTANCE ;
139+ public static final GraphQLScalarType Locale = LocaleScalar .INSTANCE ;
140140
141141 /**
142142 * A UUID scalar that accepts a universally unique identifier and produces {@link
@@ -149,50 +149,50 @@ public class ExtendedScalars {
149149 *
150150 * @see graphql.Scalars#GraphQLInt
151151 */
152- public static GraphQLScalarType PositiveInt = PositiveIntScalar .INSTANCE ;
152+ public static final GraphQLScalarType PositiveInt = PositiveIntScalar .INSTANCE ;
153153 /**
154154 * An `Int` scalar that MUST be less than zero
155155 *
156156 * @see graphql.Scalars#GraphQLInt
157157 */
158- public static GraphQLScalarType NegativeInt = NegativeIntScalar .INSTANCE ;
158+ public static final GraphQLScalarType NegativeInt = NegativeIntScalar .INSTANCE ;
159159 /**
160160 * An `Int` scalar that MUST be less than or equal to zero
161161 *
162162 * @see graphql.Scalars#GraphQLInt
163163 */
164- public static GraphQLScalarType NonPositiveInt = NonPositiveIntScalar .INSTANCE ;
164+ public static final GraphQLScalarType NonPositiveInt = NonPositiveIntScalar .INSTANCE ;
165165 /**
166166 * An `Int` scalar that MUST be greater than or equal to zero
167167 *
168168 * @see graphql.Scalars#GraphQLInt
169169 */
170- public static GraphQLScalarType NonNegativeInt = NonNegativeIntScalar .INSTANCE ;
170+ public static final GraphQLScalarType NonNegativeInt = NonNegativeIntScalar .INSTANCE ;
171171
172172 /**
173173 * An `Float` scalar that MUST be greater than zero
174174 *
175175 * @see graphql.Scalars#GraphQLFloat
176176 */
177- public static GraphQLScalarType PositiveFloat = PositiveFloatScalar .INSTANCE ;
177+ public static final GraphQLScalarType PositiveFloat = PositiveFloatScalar .INSTANCE ;
178178 /**
179179 * An `Float` scalar that MUST be less than zero
180180 *
181181 * @see graphql.Scalars#GraphQLFloat
182182 */
183- public static GraphQLScalarType NegativeFloat = NegativeFloatScalar .INSTANCE ;
183+ public static final GraphQLScalarType NegativeFloat = NegativeFloatScalar .INSTANCE ;
184184 /**
185185 * An `Float` scalar that MUST be less than or equal to zero
186186 *
187187 * @see graphql.Scalars#GraphQLFloat
188188 */
189- public static GraphQLScalarType NonPositiveFloat = NonPositiveFloatScalar .INSTANCE ;
189+ public static final GraphQLScalarType NonPositiveFloat = NonPositiveFloatScalar .INSTANCE ;
190190 /**
191191 * An `Float` scalar that MUST be greater than or equal to zero
192192 *
193193 * @see graphql.Scalars#GraphQLFloat
194194 */
195- public static GraphQLScalarType NonNegativeFloat = NonNegativeFloatScalar .INSTANCE ;
195+ public static final GraphQLScalarType NonNegativeFloat = NonNegativeFloatScalar .INSTANCE ;
196196
197197
198198 /**
0 commit comments