From 3998142ca6fae6bc1c222c63078a97832e01039c Mon Sep 17 00:00:00 2001 From: Davy Landman Date: Mon, 2 Sep 2024 11:11:29 +0200 Subject: [PATCH] Fixed a few missing null annotations --- .../impl/fields/AbstractDefaultWithKeywordParameters.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/usethesource/vallang/impl/fields/AbstractDefaultWithKeywordParameters.java b/src/main/java/io/usethesource/vallang/impl/fields/AbstractDefaultWithKeywordParameters.java index 76d8f76b..210f0c30 100644 --- a/src/main/java/io/usethesource/vallang/impl/fields/AbstractDefaultWithKeywordParameters.java +++ b/src/main/java/io/usethesource/vallang/impl/fields/AbstractDefaultWithKeywordParameters.java @@ -139,7 +139,7 @@ public boolean equals(@Nullable Object other) { // TODO: there should be a faster way for this for (String key : parameters.keySet()) { - if (!getParameter(key).equals(o.getParameter(key))) { + if (!parameters.get(key).equals(o.getParameter(key))) { return false; } }