Skip to content

Commit 35760dc

Browse files
authored
Now there are zero javadoc errors during compile (graphql-java#3770)
1 parent 2490780 commit 35760dc

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/main/java/graphql/GraphqlErrorHelper.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ public static Object locations(List<SourceLocation> locations) {
5757
/**
5858
* Positive integers starting from 1 required for error locations,
5959
* from the spec <a href="https://spec.graphql.org/draft/#sec-Errors.Error-Result-Format">...</a>
60+
*
61+
* @param location the source location in play
62+
* @return a value for source location of the error
6063
*/
6164
public static Object location(SourceLocation location) {
6265
int line = location.getLine();

src/main/java/graphql/parser/ParserOptions.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ public int getMaxRuleDepth() {
302302
/**
303303
* Option to redact offending tokens in parser error messages.
304304
* By default, the parser will include the offending token in the error message, if possible.
305+
*
306+
* @return true if the token parser messages should be redacted
305307
*/
306308
public boolean isRedactTokenParserErrorMessages() {
307309
return redactTokenParserErrorMessages;

0 commit comments

Comments
 (0)