Skip to content

Commit bdff76f

Browse files
committed
Add Amazon as vendor (Adoptium disappeared) and Java 8 fixes
1 parent be5be15 commit bdff76f

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ plugins {
1717
java {
1818
toolchain {
1919
languageVersion = JavaLanguageVersion.of(8)
20+
vendor = JvmVendorSpec.AMAZON
2021
}
2122
}
2223

src/main/java/graphql/schema/visibility/NoIntrospectionGraphqlFieldVisibility.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
* can be used instead
1818
*/
1919
@PublicApi
20-
@Deprecated(since = "2024-03-16")
20+
@Deprecated // Deprecated since 2024-03-16
2121
public class NoIntrospectionGraphqlFieldVisibility implements GraphqlFieldVisibility {
2222

23-
@Deprecated(since = "2024-03-16")
23+
@Deprecated // Deprecated since 2024-03-16
2424
public static NoIntrospectionGraphqlFieldVisibility NO_INTROSPECTION_FIELD_VISIBILITY = new NoIntrospectionGraphqlFieldVisibility();
2525

2626

src/test/groovy/graphql/introspection/IntrospectionTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,15 +694,15 @@ class IntrospectionTest extends Specification {
694694

695695
when:
696696
ei = ExecutionInput.newExecutionInput(IntrospectionQuery.INTROSPECTION_QUERY)
697-
.graphQLContext(Map.of(Introspection.INTROSPECTION_DISABLED, false)).build()
697+
.graphQLContext(["INTROSPECTION_DISABLED": false]).build()
698698
er = graphQL.execute(ei)
699699

700700
then:
701701
er.errors.isEmpty()
702702

703703
when:
704704
ei = ExecutionInput.newExecutionInput(IntrospectionQuery.INTROSPECTION_QUERY)
705-
.graphQLContext(Map.of(Introspection.INTROSPECTION_DISABLED, true)).build()
705+
.graphQLContext(["INTROSPECTION_DISABLED": true]).build()
706706
er = graphQL.execute(ei)
707707

708708
then:

0 commit comments

Comments
 (0)