Skip to content

Commit

Permalink
spotbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Dec 27, 2023
1 parent 144e93c commit 2c87299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/mozilla/javascript/NativeReflect.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 2c87299

Please sign in to comment.