Skip to content

Commit 14cb734

Browse files
committed
revert changes: will be handled in a PR
1 parent 98df57e commit 14cb734

27 files changed

Lines changed: 13 additions & 123 deletions

src/main/java/graphql/Assert.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import java.util.Collection;
44

5-
@InternalApi
65
public class Assert {
76

87
public static <T> T assertNotNull(T object, String errorMessage) {

src/main/java/graphql/AssertException.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package graphql;
22

33

4-
@PublicApi
54
public class AssertException extends GraphQLException {
65

76
public AssertException(String message) {

src/main/java/graphql/ExceptionWhileDataFetching.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import java.util.List;
77

8-
@PublicApi
98
public class ExceptionWhileDataFetching implements GraphQLError {
109

1110
private final Throwable exception;

src/main/java/graphql/ExecutionResult.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import java.util.List;
55
import java.util.Map;
66

7-
@PublicApi
87
public interface ExecutionResult {
98

109
<T> T getData();

src/main/java/graphql/ExecutionResultImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import java.util.List;
77
import java.util.Map;
88

9-
@InternalApi
109
public class ExecutionResultImpl implements ExecutionResult {
1110

1211
private final List<GraphQLError> errors = new ArrayList<>();

src/main/java/graphql/GraphQL.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
import static graphql.Assert.assertNotNull;
2929

30-
@PublicApi
3130
public class GraphQL {
3231

3332
private static final Logger log = LoggerFactory.getLogger(GraphQL.class);
@@ -49,7 +48,6 @@ public class GraphQL {
4948
*
5049
* @deprecated use the {@link #newGraphQL(GraphQLSchema)} builder instead. This will be removed in a future version.
5150
*/
52-
@InternalApi
5351
public GraphQL(GraphQLSchema graphQLSchema) {
5452
//noinspection deprecation
5553
this(graphQLSchema, null, null);
@@ -63,7 +61,6 @@ public GraphQL(GraphQLSchema graphQLSchema) {
6361
*
6462
* @deprecated use the {@link #newGraphQL(GraphQLSchema)} builder instead. This will be removed in a future version.
6563
*/
66-
@InternalApi
6764
public GraphQL(GraphQLSchema graphQLSchema, ExecutionStrategy queryStrategy) {
6865
//noinspection deprecation
6966
this(graphQLSchema, queryStrategy, null);
@@ -78,7 +75,6 @@ public GraphQL(GraphQLSchema graphQLSchema, ExecutionStrategy queryStrategy) {
7875
*
7976
* @deprecated use the {@link #newGraphQL(GraphQLSchema)} builder instead. This will be removed in a future version.
8077
*/
81-
@InternalApi
8278
public GraphQL(GraphQLSchema graphQLSchema, ExecutionStrategy queryStrategy, ExecutionStrategy mutationStrategy) {
8379
this(graphQLSchema, queryStrategy, mutationStrategy, null, DEFAULT_EXECUTION_ID_PROVIDER, NoOpInstrumentation.INSTANCE);
8480
}
@@ -93,7 +89,6 @@ public GraphQL(GraphQLSchema graphQLSchema, ExecutionStrategy queryStrategy, Exe
9389
*
9490
* @deprecated use the {@link #newGraphQL(GraphQLSchema)} builder instead. This will be removed in a future version.
9591
*/
96-
@InternalApi
9792
public GraphQL(GraphQLSchema graphQLSchema, ExecutionStrategy queryStrategy, ExecutionStrategy mutationStrategy, ExecutionStrategy subscriptionStrategy) {
9893
this(graphQLSchema, queryStrategy, mutationStrategy, subscriptionStrategy, DEFAULT_EXECUTION_ID_PROVIDER, NoOpInstrumentation.INSTANCE);
9994
}
@@ -119,7 +114,6 @@ public static Builder newGraphQL(GraphQLSchema graphQLSchema) {
119114
}
120115

121116

122-
@PublicApi
123117
public static class Builder {
124118
private GraphQLSchema graphQLSchema;
125119
private ExecutionStrategy queryExecutionStrategy = new SimpleExecutionStrategy();

src/main/java/graphql/GraphQLError.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import java.util.List;
77

8-
@PublicApi
98
public interface GraphQLError {
109

1110
String getMessage();

src/main/java/graphql/InternalApi.java

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/main/java/graphql/PublicApi.java

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/main/java/graphql/PublicSpi.java

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)