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 /testtools | |
parent | a6f4fde8baf3eeb36820d18ffad84192e995145f (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 'testtools')
-rw-r--r-- | testtools/com/sun/star/comp/bridge/TestComponent.java | 10 | ||||
-rw-r--r-- | testtools/com/sun/star/comp/bridge/TestComponentMain.java | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/testtools/com/sun/star/comp/bridge/TestComponent.java b/testtools/com/sun/star/comp/bridge/TestComponent.java index bf1524dd18ca..a6966eb15ec2 100644 --- a/testtools/com/sun/star/comp/bridge/TestComponent.java +++ b/testtools/com/sun/star/comp/bridge/TestComponent.java @@ -62,10 +62,10 @@ import com.sun.star.uno.XInterface; @SuppressWarnings("unchecked") public class TestComponent { - static public final boolean DEBUG = false; + public static final boolean DEBUG = false; - static public class _PerformancTestObject implements XPerformanceTest, XServiceInfo, XTypeProvider { - static private final String __serviceName = "com.sun.star.comp.benchmark.JavaTestObject"; + public static class _PerformancTestObject implements XPerformanceTest, XServiceInfo, XTypeProvider { + private static final String __serviceName = "com.sun.star.comp.benchmark.JavaTestObject"; private int _long; private long _hyper; @@ -289,8 +289,8 @@ public class TestComponent { } } - static public class _TestObject implements XBridgeTest2, XRecursiveCall, XServiceInfo, XTypeProvider { - static private final String __serviceName = "com.sun.star.test.bridge.JavaTestObject"; + public static class _TestObject implements XBridgeTest2, XRecursiveCall, XServiceInfo, XTypeProvider { + private static final String __serviceName = "com.sun.star.test.bridge.JavaTestObject"; private boolean _bool; private char _char; diff --git a/testtools/com/sun/star/comp/bridge/TestComponentMain.java b/testtools/com/sun/star/comp/bridge/TestComponentMain.java index eaeab8d23ebf..c4ea66ce88ae 100644 --- a/testtools/com/sun/star/comp/bridge/TestComponentMain.java +++ b/testtools/com/sun/star/comp/bridge/TestComponentMain.java @@ -63,7 +63,7 @@ public class TestComponentMain } } - static public void main(String args[]) throws Exception, com.sun.star.uno.Exception { + public static void main(String args[]) throws Exception, com.sun.star.uno.Exception { if(args.length != 2) { System.err.println("usage : com.sun.star.comp.bridge.TestComponentMain uno:connection;protocol;objectName singleaccept"); System.exit(-1); |