diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 12:44:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:23 +0200 |
commit | 68cd011c907d00493bf2bfde531c1e244819596b (patch) | |
tree | 0225318c908b00faaa701a19aaf7aa567c3582a0 /qadevOOo/runner/util/utils.java | |
parent | 70f56bc22fe952c75ec714e05e1bb5296491a36a (diff) |
java: reduce scope, make some methods private
found by UCDetector
Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
Diffstat (limited to 'qadevOOo/runner/util/utils.java')
-rw-r--r-- | qadevOOo/runner/util/utils.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index 183daadee8dc..73664ce6989a 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -286,7 +286,7 @@ public class utils { * @see com.sun.star.util.PathSettings * @return the value as String */ - public static String getOfficeSettingsValue(XMultiServiceFactory msf, String setting) { + private static String getOfficeSettingsValue(XMultiServiceFactory msf, String setting) { String settingPath = null; try { @@ -813,7 +813,7 @@ public class utils { * @param checkAppExecutionCommand If the AppExecutionCommand is checked, the error messages willbe different. * @return The error message, or OK, if no error was detected. */ - public static String validateConnectString(String connectString, boolean checkAppExecutionCommand) { + private static String validateConnectString(String connectString, boolean checkAppExecutionCommand) { String acceptPrefix = ""; if (checkAppExecutionCommand) { acceptPrefix = "--accept="; @@ -926,7 +926,7 @@ public class utils { * @param URL the <CODE>URL</CODE> to dispatch * @throws java.lang.Exception throws <CODE>java.lang.Exception</CODE> on any error */ - public static void dispatchURL(XMultiServiceFactory xMSF, XController xCont, String URL) throws java.lang.Exception { + private static void dispatchURL(XMultiServiceFactory xMSF, XController xCont, String URL) throws java.lang.Exception { try { XDispatchProvider xDispProv = UnoRuntime.queryInterface(XDispatchProvider.class, xCont); |