🌐 AI搜索 & 代理 主页
Skip to content

Commit 7e0a66e

Browse files
committed
A smidge faster unwrap non-null - asssert tweak
1 parent 4dc1f34 commit 7e0a66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/schema/GraphQLNonNull.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public GraphQLNonNull(GraphQLType wrappedType) {
4747

4848
private void assertNonNullWrapping(GraphQLType wrappedType) {
4949
assertTrue(!GraphQLTypeUtil.isNonNull(wrappedType), () ->
50-
String.format("A non null type cannot wrap an existing non null type '%s'", GraphQLTypeUtil.simplePrint(wrappedType)));
50+
"A non null type cannot wrap an existing non null type");
5151
}
5252

5353
@Override

0 commit comments

Comments
 (0)