We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95e7dc9 commit f8920d8Copy full SHA for f8920d8
1 file changed
src/main/java/graphql/language/Argument.java
@@ -32,8 +32,8 @@ public class Argument extends AbstractNode<Argument> implements NamedNode<Argume
32
@Internal
33
protected Argument(String name, Value value, @Nullable SourceLocation sourceLocation, List<Comment> comments, IgnoredChars ignoredChars, Map<String, String> additionalData) {
34
super(sourceLocation, comments, ignoredChars, additionalData);
35
- this.name = assertNotNull(name, () -> "Argument name cannot be null");
36
- this.value = assertNotNull(value, () -> "Argument value cannot be null");
+ this.name = assertNotNull(name, "Argument name cannot be null");
+ this.value = assertNotNull(value, "Argument value cannot be null");
37
}
38
39
/**
0 commit comments