diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-09 13:30:49 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-06-11 09:34:00 +0000 |
commit | efd4bfa818e262d7dc219ac3ceb85526fedc732c (patch) | |
tree | 932b54f6c3689d3c087f4f3911f66695c8817229 /scripting | |
parent | sw tiled rendering: Ignore window size check. (diff) | |
download | core-efd4bfa818e262d7dc219ac3ceb85526fedc732c.tar.gz core-efd4bfa818e262d7dc219ac3ceb85526fedc732c.zip |
java:regulatize the order of 'final' and public/private
Make the order be 'public static' or 'private static'
Just makes the code nicer to read.
Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2
Reviewed-on: https://gerrit.libreoffice.org/16202
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'scripting')
3 files changed, 4 insertions, 4 deletions
diff --git a/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java b/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java index f6d9d71ac767..2988e5e85a63 100644 --- a/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java +++ b/scripting/java/com/sun/star/script/framework/container/ParcelContainer.java @@ -61,7 +61,7 @@ public class ParcelContainer implements XNameAccess { protected String language; protected String containerUrl; private Collection<Parcel> parcels = new ArrayList<Parcel>(10); - static protected XSimpleFileAccess m_xSFA; + protected static XSimpleFileAccess m_xSFA; protected XComponentContext m_xCtx; private ParcelContainer parent = null; private final Collection<ParcelContainer> childContainers = new diff --git a/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java b/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java index 7123ca5c8973..2d05d4dbb0db 100644 --- a/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java +++ b/scripting/java/com/sun/star/script/framework/io/XStorageHelper.java @@ -220,7 +220,7 @@ public class XStorageHelper implements XEventListener { } - static public void disposeObject(XInterface xInterface) { + public static void disposeObject(XInterface xInterface) { if (xInterface == null) { return; } @@ -235,7 +235,7 @@ public class XStorageHelper implements XEventListener { xComponent.dispose(); } - static public void commit(XInterface xInterface) { + public static void commit(XInterface xInterface) { XTransactedObject xTrans = UnoRuntime.queryInterface(XTransactedObject.class, xInterface); 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 63023ea61caa..0f83d3f70d0a 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 @@ -48,7 +48,7 @@ public class ScriptEditorForJavaScript implements ScriptEditor { // template for JavaScript scripts private static String JSTEMPLATE; - static private Main rhinoWindow; + private static Main rhinoWindow; private URL scriptURL; // global list of ScriptEditors, key is URL of file being edited private static Map<URL, ScriptEditorForJavaScript> BEING_EDITED = new |