summaryrefslogtreecommitdiff
path: root/toolkit/test
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-09 13:30:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-06-11 09:34:00 +0000
commitefd4bfa818e262d7dc219ac3ceb85526fedc732c (patch)
tree932b54f6c3689d3c087f4f3911f66695c8817229 /toolkit/test
parenta6f4fde8baf3eeb36820d18ffad84192e995145f (diff)
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 'toolkit/test')
-rw-r--r--toolkit/test/accessibility/Options.java12
-rw-r--r--toolkit/test/accessibility/ov/ContextView.java2
-rw-r--r--toolkit/test/accessibility/ov/FocusView.java2
-rw-r--r--toolkit/test/accessibility/ov/TextView.java2
4 files changed, 9 insertions, 9 deletions
diff --git a/toolkit/test/accessibility/Options.java b/toolkit/test/accessibility/Options.java
index bbe7d608a7d3..6cf6e48f2a31 100644
--- a/toolkit/test/accessibility/Options.java
+++ b/toolkit/test/accessibility/Options.java
@@ -27,29 +27,29 @@ import java.util.Properties;
class Options
extends Properties
{
- static public Options Instance ()
+ public static Options Instance ()
{
if (saOptions == null)
saOptions = new Options ();
return saOptions;
}
- static public void SetBoolean (String sName, boolean bValue)
+ public static void SetBoolean (String sName, boolean bValue)
{
Instance().setProperty (sName, Boolean.toString(bValue));
}
- static public boolean GetBoolean (String sName)
+ public static boolean GetBoolean (String sName)
{
return Boolean.getBoolean(Instance().getProperty (sName));
}
- static public void SetInteger (String sName, int nValue)
+ public static void SetInteger (String sName, int nValue)
{
Instance().setProperty (sName, Integer.toString(nValue));
}
- static public int GetInteger (String sName, int nDefault)
+ public static int GetInteger (String sName, int nDefault)
{
String sValue = Instance().getProperty (sName);
if (sValue == null)
@@ -118,5 +118,5 @@ class Options
sBaseName);
}
- static private Options saOptions = null;
+ private static Options saOptions = null;
}
diff --git a/toolkit/test/accessibility/ov/ContextView.java b/toolkit/test/accessibility/ov/ContextView.java
index e2667abde907..943c884f158e 100644
--- a/toolkit/test/accessibility/ov/ContextView.java
+++ b/toolkit/test/accessibility/ov/ContextView.java
@@ -36,7 +36,7 @@ public class ContextView
extends ListeningObjectView
implements ActionListener
{
- static public ObjectView Create (
+ public static ObjectView Create (
ObjectViewContainer aContainer,
XAccessibleContext xContext)
{
diff --git a/toolkit/test/accessibility/ov/FocusView.java b/toolkit/test/accessibility/ov/FocusView.java
index b7a489d896b2..7cb3c8094ba1 100644
--- a/toolkit/test/accessibility/ov/FocusView.java
+++ b/toolkit/test/accessibility/ov/FocusView.java
@@ -41,7 +41,7 @@ public class FocusView
/** Create a FocusView when the given object supports the
XAccessibleComponent interface.
*/
- static public ObjectView Create (
+ public static ObjectView Create (
ObjectViewContainer aContainer,
XAccessibleContext xContext)
{
diff --git a/toolkit/test/accessibility/ov/TextView.java b/toolkit/test/accessibility/ov/TextView.java
index 3e388637258a..1d40c5f48b98 100644
--- a/toolkit/test/accessibility/ov/TextView.java
+++ b/toolkit/test/accessibility/ov/TextView.java
@@ -34,7 +34,7 @@ public class TextView
/** Create a TextView when the given object supports the
XAccessibleText interface.
*/
- static public ObjectView Create (
+ public static ObjectView Create (
ObjectViewContainer aContainer,
XAccessibleContext xContext)
{