diff options
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript.java b/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript.java index c0c69051f4f6..7c28efb96e48 100644 --- a/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript.java +++ b/scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript.java @@ -195,7 +195,7 @@ public class ScriptEditorForJavaScript implements ScriptEditor { private ScriptEditorForJavaScript(XScriptContext context, URL url) { initUI(); Scriptable scope = getScope(context); - rhinoWindow.openFile(url, scope, new closeHandler(url)); + rhinoWindow.openFile(url, scope, new CloseHandler(url)); this.scriptURL = url; } @@ -294,11 +294,11 @@ public class ScriptEditorForJavaScript implements ScriptEditor { return scope; } - private class closeHandler implements Runnable { + private static class CloseHandler implements Runnable { private final URL url; - private closeHandler(URL url) { + private CloseHandler(URL url) { this.url = url; } |