Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Dec 27, 2023
1 parent 70bfa44 commit 144e93c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/org/mozilla/javascript/NativeReflect.java
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ private static Object set(Context cx, Scriptable scope, Scriptable thisObj, Obje
return true;
}

ScriptableObject receiver = args.length > 3 ? ScriptableObject.ensureScriptableObject(args[3]) : target;
ScriptableObject receiver =
args.length > 3 ? ScriptableObject.ensureScriptableObject(args[3]) : target;
if (receiver != target) {
ScriptableObject descriptor = target.getOwnPropertyDescriptor(cx, args[1]);
if (descriptor != null) {
Expand Down

0 comments on commit 144e93c

Please sign in to comment.