diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-15 08:54:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-15 09:23:16 +0200 |
commit | a1624a8ecd933f9efde940eea8ac0cc1db63cd5d (patch) | |
tree | d8f3c92bd28551f09ea4713f312515afeb2a48bd /scripting | |
parent | 301764855ed9f4a4c28b98013361f7174e0f7c7b (diff) |
cid#1327023 to cid#1327077 SIC: Inner class could be made static
Change-Id: I41f89c4feefe4e012d72c663ebb9bbcb4aa7f163
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; } |