diff --git a/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java b/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java index 1ff1ec036ff3..f1b1ee79692a 100644 --- a/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java +++ b/js/rhino/toolsrc/org/mozilla/javascript/tools/shell/Main.java @@ -121,9 +121,9 @@ public class Main { static Context enterContext() { Context cx = new Context(); - if (securityImpl != null) { - cx.setSecurityController(securityImpl); - } + if (securityImpl != null) { + cx.setSecurityController(securityImpl); + } return Context.enter(cx); }