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>
This commit is contained in:
committed by
Noel Grandin
parent
a6f4fde8ba
commit
efd4bfa818
@@ -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
|
||||
|
@@ -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);
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user