Skip to content

Commit 41a8706

Browse files
committed
change error message in ObjectUtils#nonNull
1 parent b6476d2 commit 41a8706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slime-loader/src/main/java/net/roxymc/slime/util/ObjectUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ private ObjectUtils() {
77
}
88

99
public static <T> T nonNull(T obj, String name) {
10-
return Objects.requireNonNull(obj, name + " deserializer == null");
10+
return Objects.requireNonNull(obj, name + " == null");
1111
}
1212
}

0 commit comments

Comments
 (0)