From 2c87299ff5eb065b1e0f099cfc50019b5a8b77ae Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Wed, 27 Dec 2023 19:39:59 +0100 Subject: [PATCH] spotbugs --- src/org/mozilla/javascript/NativeReflect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/mozilla/javascript/NativeReflect.java b/src/org/mozilla/javascript/NativeReflect.java index 907996f829..7ae6a13e7b 100644 --- a/src/org/mozilla/javascript/NativeReflect.java +++ b/src/org/mozilla/javascript/NativeReflect.java @@ -340,7 +340,7 @@ private static Object set(Context cx, Scriptable scope, Scriptable thisObj, Obje return true; } - if (descriptor.get("configurable") == Boolean.FALSE) { + if (Boolean.FALSE.equals(descriptor.get("configurable"))) { return false; } }