diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 11:15:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:22 +0200 |
commit | 14d1a11ec4a7ed0deeac522403248536e8d23f57 (patch) | |
tree | 6a976bf53992c68a46472199e5fb494339899ae6 /scripting/java/com/sun/star/script/framework/provider | |
parent | '>>' should be '> >' within a nested template argument list (diff) | |
download | core-14d1a11ec4a7ed0deeac522403248536e8d23f57.tar.gz core-14d1a11ec4a7ed0deeac522403248536e8d23f57.zip |
java: reduce scope, make constructors private
found by UCDetector
Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
Diffstat (limited to 'scripting/java/com/sun/star/script/framework/provider')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/ScriptContext.java | 2 | ||||
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/javascript/ScriptEditorForJavaScript.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java index d3266a382f72..6532c5f6a95a 100644 --- a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java +++ b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java @@ -47,7 +47,7 @@ public class ScriptContext extends PropertySet implements XScriptContext public Integer m_iStorageID = null; public XComponentContext m_xComponentContext = null; - public ScriptContext( XComponentContext xmComponentContext, + private ScriptContext( XComponentContext xmComponentContext, XDesktop xDesktop, XModel xModel, XScriptInvocationContext xInvocContext) { this.m_xDeskTop = xDesktop; 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 28c6a4f6e4f3..130c44bb37ab 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 @@ -326,7 +326,7 @@ public class ScriptEditorForJavaScript implements ScriptEditor class closeHandler implements Runnable { URL url; - closeHandler( URL url ) + private closeHandler( URL url ) { this.url = url; } |