Make the Interface class final.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -27,7 +27,7 @@ public abstract class Console<C extends RhinoContainer> extends ScriptableObject | ... | @@ -27,7 +27,7 @@ public abstract class Console<C extends RhinoContainer> extends ScriptableObject |
27 | return sargs; | 27 | return sargs; |
28 | } | 28 | } |
29 | 29 | ||
30 | public static class Interface { | 30 | public static final class Interface { |
31 | public static void log(Context cx, Scriptable thisObj, Object[] args, Function funObj) { | 31 | public static void log(Context cx, Scriptable thisObj, Object[] args, Function funObj) { |
32 | ((Console) thisObj).log(cx, args, funObj); | 32 | ((Console) thisObj).log(cx, args, funObj); |
33 | } | 33 | } | ... | ... |
-
Please register or sign in to post a comment