summaryrefslogtreecommitdiff
path: root/jurt/com/sun/star/comp/loader/FactoryHelper.java
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 /jurt/com/sun/star/comp/loader/FactoryHelper.java
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 'jurt/com/sun/star/comp/loader/FactoryHelper.java')
-rw-r--r--jurt/com/sun/star/comp/loader/FactoryHelper.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/jurt/com/sun/star/comp/loader/FactoryHelper.java b/jurt/com/sun/star/comp/loader/FactoryHelper.java
index 3fdbac487180..584b9dadab5b 100644
--- a/jurt/com/sun/star/comp/loader/FactoryHelper.java
+++ b/jurt/com/sun/star/comp/loader/FactoryHelper.java
@@ -50,7 +50,7 @@ public class FactoryHelper {
private static final boolean DEBUG = false;
// the factory
- static protected class Factory
+ protected static class Factory
implements XSingleServiceFactory, XSingleComponentFactory, XServiceInfo,
XTypeProvider {
@@ -384,7 +384,7 @@ public class FactoryHelper {
* @see com.sun.star.lang.XServiceInfo
* @deprecated as of UDK 1.0
*/
- static public XSingleServiceFactory getServiceFactory(Class<?> implClass,
+ public static XSingleServiceFactory getServiceFactory(Class<?> implClass,
XMultiServiceFactory multiFactory,
XRegistryKey regKey)
{
@@ -420,7 +420,7 @@ public class FactoryHelper {
* @return returns a factory.
* @see com.sun.star.lang.XServiceInfo
*/
- static public XSingleServiceFactory getServiceFactory(Class<?> implClass,
+ public static XSingleServiceFactory getServiceFactory(Class<?> implClass,
String serviceName,
XMultiServiceFactory multiFactory,
XRegistryKey regKey)
@@ -434,7 +434,7 @@ public class FactoryHelper {
* @param implClass the implementing class.
* @return returns a factory object.
*/
- static public Object createComponentFactory( Class<?> implClass, String serviceName )
+ public static Object createComponentFactory( Class<?> implClass, String serviceName )
{
return new Factory( implClass, serviceName, null, null );
}
@@ -449,7 +449,7 @@ public class FactoryHelper {
*
* @see com.sun.star.lang.XServiceInfo
*/
- static public boolean writeRegistryServiceInfo(String implName, String serviceName, XRegistryKey regKey) {
+ public static boolean writeRegistryServiceInfo(String implName, String serviceName, XRegistryKey regKey) {
boolean result = false;
try {