diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-12 09:30:14 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-06-15 08:45:19 +0000 |
commit | 0c18bedb7328493040c1a20822b345e624d6041f (patch) | |
tree | 2f7fb01b21a63ceef52f05035bc047173ea46785 /scripting | |
parent | 8b85838611ed448ef18a9e4982849bbd702981aa (diff) |
java: 'final static' to 'static final'
this is the canonical order, and it makes the code easier to read
Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470
Reviewed-on: https://gerrit.libreoffice.org/16242
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java | 2 | ||||
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/ScriptContext.java | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java b/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java index e7c6fdb15236..432d401ac322 100644 --- a/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java +++ b/scripting/java/com/sun/star/script/framework/io/UCBStreamHandler.java @@ -44,7 +44,7 @@ import java.util.zip.ZipInputStream; public class UCBStreamHandler extends URLStreamHandler { - public final static String separator = "/ucb/"; + public static final String separator = "/ucb/"; private final XSimpleFileAccess m_xSimpleFileAccess; private final HashMap<String, InputStream> m_jarStreamMap = new HashMap<String, InputStream>(12); 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 94181e7b13d6..d447e66906c5 100644 --- a/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java +++ b/scripting/java/com/sun/star/script/framework/provider/ScriptContext.java @@ -38,11 +38,11 @@ import com.sun.star.uno.XComponentContext; public class ScriptContext extends PropertySet implements XScriptContext { - private final static String HM_DOC_REF = "DocumentReference"; - private final static String HM_DESKTOP = "Desktop"; - private final static String HM_COMPONENT_CONTEXT = "ComponentContext"; + private static final String HM_DOC_REF = "DocumentReference"; + private static final String HM_DESKTOP = "Desktop"; + private static final String HM_COMPONENT_CONTEXT = "ComponentContext"; - private final static String DOC_URI = "SCRIPTING_DOC_URI"; + private static final String DOC_URI = "SCRIPTING_DOC_URI"; public final XModel m_xModel; private final XScriptInvocationContext m_xInvocationContext; |