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 /qadevOOo/testdocs | |
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 'qadevOOo/testdocs')
-rw-r--r-- | qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java | 6 | ||||
-rw-r--r-- | qadevOOo/testdocs/qadevlibs/source/test/Job.java | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java b/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java index 77e243670cee..7ce7a80b618d 100644 --- a/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java +++ b/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java @@ -72,11 +72,11 @@ public class MyPersistObject implements XPersistObject, XTypeProvider, } } - static private final boolean verbose = false; + private static final boolean verbose = false; - static public final String __serviceName = + public static final String __serviceName = "com.sun.star.cmp.PersistObject"; - static public final String __implName = + public static final String __implName = "com.sun.star.cmp.MyPersistObject"; // lots of props to write diff --git a/qadevOOo/testdocs/qadevlibs/source/test/Job.java b/qadevOOo/testdocs/qadevlibs/source/test/Job.java index d180d557b19b..40d0c09c3c7a 100644 --- a/qadevOOo/testdocs/qadevlibs/source/test/Job.java +++ b/qadevOOo/testdocs/qadevlibs/source/test/Job.java @@ -30,9 +30,9 @@ import com.sun.star.comp.loader.FactoryHelper; public class Job { - static public class _Implementation implements XServiceInfo, XTypeProvider, + public static class _Implementation implements XServiceInfo, XTypeProvider, XJob, XNamed { - static private final String __serviceName = "test.Job"; + private static final String __serviceName = "test.Job"; Object oDoc = null; String actionType = null; String actionParm = null; |