Skip to content

Commit a7def19

Browse files
author
Tim Koopman
committed
Fix typo in method name
1 parent b31d4c1 commit a7def19

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/main/java/graphql/ExceptionWhileDataFetching.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public List<SourceLocation> getLocations() {
2929
}
3030

3131
@Override
32-
public ErrorType geErrorType() {
32+
public ErrorType getErrorType() {
3333
return ErrorType.DataFetchingException;
3434
}
3535

src/main/java/graphql/GraphQLError.java

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

1212
List<SourceLocation> getLocations();
1313

14-
ErrorType geErrorType();
14+
ErrorType getErrorType();
1515

1616
}

src/main/java/graphql/InvalidSyntaxError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public List<SourceLocation> getLocations() {
3333
}
3434

3535
@Override
36-
public ErrorType geErrorType() {
36+
public ErrorType getErrorType() {
3737
return ErrorType.InvalidSyntax;
3838
}
3939

src/main/java/graphql/validation/ValidationError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public List<SourceLocation> getLocations() {
4848
}
4949

5050
@Override
51-
public ErrorType geErrorType() {
51+
public ErrorType getErrorType() {
5252
return ErrorType.ValidationError;
5353
}
5454

src/test/groovy/graphql/GraphQLTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class GraphQLTest extends Specification {
107107

108108
then:
109109
errors.size() == 1
110-
errors[0].geErrorType() == ErrorType.InvalidSyntax
110+
errors[0].errorType == ErrorType.InvalidSyntax
111111
errors[0].sourceLocations == [new SourceLocation(1, 8)]
112112
}
113113
}

0 commit comments

Comments
 (0)