Skip to content

Commit 972083b

Browse files
committed
fix javadoc
1 parent 24aa408 commit 972083b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/java/graphql/schema/idl/EnumValuesProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public interface EnumValuesProvider {
1212

1313
/**
14-
* @param name
14+
* @param name an Enum value
1515
* @return not null
1616
*/
1717
Object getValue(String name);

src/main/java/graphql/schema/idl/NaturalEnumValuesProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
/**
77
* Simple EnumValuesProvided which maps the GraphQL Enum name to the Java Enum instance.
88
*
9-
* @param <T>
109
*/
1110
@PublicApi
1211
public class NaturalEnumValuesProvider<T extends Enum<T>> implements EnumValuesProvider {

src/main/java/graphql/schema/idl/SchemaParser.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ private SchemaProblem handleParseException(ParseCancellationException e) throws
8383

8484
/**
8585
* special method to build directly a TypeDefinitionRegistry from a Document
86-
* useful for Introscpection -> IDL (Document) -> TypeDefinitionRegistry
86+
* useful for Introspection =&gt; IDL (Document) => TypeDefinitionRegistry
8787
*
88-
* @param document conataining type defintions
89-
* @throws SchemaProblem
88+
* @param document containing type definitions
89+
* @throws SchemaProblem if an error occurs
90+
* @return the TypeDefinitionRegistry containing all type definitions from the document
9091
*/
9192
public TypeDefinitionRegistry buildRegistry(Document document) {
9293
List<GraphQLError> errors = new ArrayList<>();

0 commit comments

Comments
 (0)