Skip to content

Commit a49473f

Browse files
committed
Remove long deprecated method
1 parent a9cf6e6 commit a49473f

3 files changed

Lines changed: 10 additions & 20 deletions

File tree

src/main/java/graphql/collect/ImmutableMapWithNullValues.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
import java.util.function.Function;
1515

1616
/**
17-
* The standard ImmutableMap does not allow null values. The implementation does.
18-
* We have cases in graphql, around arguments where a mep entry can be explicitly set to null
19-
* and we want immutable smart maps for these case.
17+
* The standard ImmutableMap does not allow null values. The implementation does.
18+
* We have cases in graphql, around arguments where a map entry can be explicitly set to null
19+
* and we want immutable smart maps for these cases.
2020
*
2121
* @param <K> for key
2222
* @param <V> for victory

src/main/java/graphql/schema/DataFetchingEnvironment.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ public interface DataFetchingEnvironment extends IntrospectionDataFetchingEnviro
7777
<T> T getArgumentOrDefault(String name, T defaultValue);
7878

7979
/**
80-
* Returns a legacy context argument that is set up when the {@link graphql.GraphQL#execute(graphql.ExecutionInput)} )} method
80+
* Returns a legacy context argument that is set up when the {@link graphql.GraphQL#execute(graphql.ExecutionInput)} method
8181
* is invoked.
8282
* <p>
83-
* This is a info object which is provided to all DataFetchers, but never used by graphql-java itself.
83+
* This is an info object which is provided to all DataFetchers, but never used by graphql-java itself.
8484
*
8585
* @param <T> you decide what type it is
8686
*
@@ -96,19 +96,19 @@ public interface DataFetchingEnvironment extends IntrospectionDataFetchingEnviro
9696
* Returns a shared context argument that is set up when the {@link graphql.GraphQL#execute(graphql.ExecutionInput)} )} method
9797
* is invoked.
9898
* <p>
99-
* This is a info object which is provided to all DataFetchers.
99+
* This is an info object which is provided to all DataFetchers.
100100
*
101101
* @return can NOT be null
102102
*/
103103
GraphQLContext getGraphQlContext();
104104

105105
/**
106-
* This returns a context object that parent fields may have returned returned
106+
* This returns a context object that parent fields may have returned
107107
* via {@link graphql.execution.DataFetcherResult#getLocalContext()} which can be used to pass down extra information to
108108
* fields beyond the normal {@link #getSource()}
109109
* <p>
110-
* This differs from {@link #getContext()} in that it's field specific and passed from parent field to child field,
111-
* whilst {@link #getContext()} is global for the whole query.
110+
* This differs from {@link #getGraphQlContext()} in that it's field specific and passed from parent field to child field,
111+
* whilst {@link #getGraphQlContext()} is global for the whole query.
112112
* <p>
113113
* If the field is a top level field then 'localContext' equals null since it's never be set until those
114114
* fields execute.
@@ -144,7 +144,7 @@ public interface DataFetchingEnvironment extends IntrospectionDataFetchingEnviro
144144
List<Field> getFields();
145145

146146
/**
147-
* It can happen that a query has overlapping fields which are
147+
* It can happen that a query has overlapping fields which
148148
* are querying the same data. If this is the case they get merged
149149
* together and fetched only once, but this method returns all of the Fields
150150
* from the query.

src/main/java/graphql/schema/diff/DiffEvent.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,6 @@ public String toString() {
7474
'}';
7575
}
7676

77-
/**
78-
* @return a Builder of Info level diff events
79-
* @deprecated use {@link DiffEvent#apiInfo()} instead
80-
*/
81-
@Deprecated
82-
@DeprecatedAt("2017-12-27")
83-
public static Builder newInfo() {
84-
return new Builder().level(DiffLevel.INFO);
85-
}
86-
8777
public static Builder apiInfo() {
8878
return new Builder().level(DiffLevel.INFO);
8979
}

0 commit comments

Comments
 (0)