summaryrefslogtreecommitdiff
path: root/javaunohelper/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 /javaunohelper/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 'javaunohelper/test')
-rw-r--r--javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java4
-rw-r--r--javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java14
2 files changed, 9 insertions, 9 deletions
diff --git a/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java b/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java
index 184515d47d8b..ce85cb78fc91 100644
--- a/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java
+++ b/javaunohelper/test/com/sun/star/comp/helper/Bootstrap_Test.java
@@ -33,7 +33,7 @@ public class Bootstrap_Test {
private static final Logger logger = Logger.getLogger(Bootstrap_Test.class.getName());
- static public boolean test( String ini_file, Map<String,String> bootstrap_parameters )
+ public static boolean test( String ini_file, Map<String,String> bootstrap_parameters )
throws java.lang.Exception
{
boolean passed = false;
@@ -85,7 +85,7 @@ public class Bootstrap_Test {
System.exit( -1 );
}
- static public void main(String args[]) throws java.lang.Exception {
+ public static void main(String args[]) throws java.lang.Exception {
if ( args.length == 0 )
usage();
diff --git a/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java b/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java
index 3df517eec804..550a497018dc 100644
--- a/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java
+++ b/javaunohelper/test/com/sun/star/comp/helper/SharedLibraryLoader_Test.java
@@ -39,7 +39,7 @@ public class SharedLibraryLoader_Test {
private static XImplementationLoader sharedLibraryLoader = null;
private static XSimpleRegistry simpleRegistry = null;
- static public boolean test_getSharedLibraryLoaderFactory()
+ public static boolean test_getSharedLibraryLoaderFactory()
throws java.lang.Exception
{
sharedLibraryLoaderFactory = null;
@@ -55,7 +55,7 @@ public class SharedLibraryLoader_Test {
return sharedLibraryLoaderFactory != null;
}
- static public boolean test_instantiateSharedLibraryLoader()
+ public static boolean test_instantiateSharedLibraryLoader()
throws java.lang.Exception
{
sharedLibraryLoader = null;
@@ -76,7 +76,7 @@ public class SharedLibraryLoader_Test {
return sharedLibraryLoader != null;
}
- static public boolean test_loadNativeServiceManager()
+ public static boolean test_loadNativeServiceManager()
throws java.lang.Exception
{
nativeServiceManager = null;
@@ -103,7 +103,7 @@ public class SharedLibraryLoader_Test {
return nativeServiceManager != null;
}
- static public boolean test_loadNativeSimpleRegistry()
+ public static boolean test_loadNativeSimpleRegistry()
throws java.lang.Exception
{
System.out.println("*******************************************************************");
@@ -127,7 +127,7 @@ public class SharedLibraryLoader_Test {
return true;
}
- static public boolean test_registerSharedLibraryLoader()
+ public static boolean test_registerSharedLibraryLoader()
throws java.lang.Exception
{
boolean result = true;
@@ -148,7 +148,7 @@ public class SharedLibraryLoader_Test {
return result;
}
- static public boolean test() throws java.lang.Exception {
+ public static boolean test() throws java.lang.Exception {
boolean passed = true;
System.err.println("SharedLibraryLoader - doing tests...");
@@ -162,7 +162,7 @@ public class SharedLibraryLoader_Test {
return passed;
}
- static public void main(String args[]) throws java.lang.Exception {
+ public static void main(String args[]) throws java.lang.Exception {
System.exit( test() ? 0: -1 );
}
}