diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-11 09:31:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 13:34:43 +0200 |
commit | 4a4127d2c4d9e70b7747ae7683f94a1f046893b3 (patch) | |
tree | 5c32398c0d5ac30eed66fe4736558fb557e3d75b | |
parent | 5ca7fa8db244f225d680f86d6eceefa69eb35b6d (diff) |
make some java methods private
found by UCDetector
Change-Id: Ic2edbc85194731116aac34064238d11ef1926a98
3 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/convwatch/FilenameHelper.java b/qadevOOo/runner/convwatch/FilenameHelper.java index bc64b148ee62..8d7fcb08c755 100644 --- a/qadevOOo/runner/convwatch/FilenameHelper.java +++ b/qadevOOo/runner/convwatch/FilenameHelper.java @@ -56,7 +56,7 @@ abstract class FilenameHelper_impl implements Filenamer { m_nNumber = _n; } - void initMember() + private void initMember() { fs = System.getProperty("file.separator"); } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/SOFormulaParser.java b/reportbuilder/java/org/libreoffice/report/pentaho/SOFormulaParser.java index 7ca37cc90e42..7bbbd7c1ad7f 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/SOFormulaParser.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/SOFormulaParser.java @@ -330,7 +330,7 @@ public final class SOFormulaParser extends ComponentBase * This method is a simple helper function to used in the static component initialisation functions as well as * in getSupportedServiceNames. */ - public static String[] getServiceNames() + private static String[] getServiceNames() { return new String[] { diff --git a/wizards/com/sun/star/wizards/common/NumericalHelper.java b/wizards/com/sun/star/wizards/common/NumericalHelper.java index 3e9778d48925..12efa62e949a 100644 --- a/wizards/com/sun/star/wizards/common/NumericalHelper.java +++ b/wizards/com/sun/star/wizards/common/NumericalHelper.java @@ -124,7 +124,7 @@ public class NumericalHelper * @return a short * @throws com.sun.star.lang.IllegalArgumentException if the object cannot be converted */ - public static short toShort(Object aValue) + private static short toShort(Object aValue) throws com.sun.star.lang.IllegalArgumentException { short retValue = 0; |