File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
bukkit-utils/src/main/java/net/anweisen/utilities/bukkit/utils/misc Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public static boolean isInWater(@Nonnull Entity entity) {
108108 * @see #fromString(String, Plugin)
109109 */
110110 @ Nullable
111- public static NamespacedKey fromString (@ NotNull String key ) {
111+ public static NamespacedKey fromString (@ Nonnull String key ) {
112112 return fromString (key , null );
113113 }
114114
@@ -139,7 +139,7 @@ public static NamespacedKey fromString(@NotNull String key) {
139139 * @see #fromString(String)
140140 */
141141 @ Nullable
142- public static NamespacedKey fromString (@ NotNull String string , @ Nullable Plugin defaultNamespace ) {
142+ public static NamespacedKey fromString (@ Nonnull String string , @ Nullable Plugin defaultNamespace ) {
143143 Preconditions .checkArgument (string != null && !string .isEmpty (), "Input string must not be empty or null" );
144144
145145 String [] components = string .split (":" , 3 );
You can’t perform that action at this time.
0 commit comments