diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-10 15:36:24 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-12-11 06:09:03 +0000 |
commit | 7557f23b31dcfb4d86c122bb34d9675c0db9a694 (patch) | |
tree | 5feb7be2b0841d8ee60d935cf2e29e9a01a31a27 /qadevOOo/runner/lib/MultiMethodTest.java | |
parent | 808fd5fbd8868dfd95c8a38676815798fa2b79c4 (diff) |
java: reduce visibility of fields and methods
found by PMD
Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6
Reviewed-on: https://gerrit.libreoffice.org/13409
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'qadevOOo/runner/lib/MultiMethodTest.java')
-rw-r--r-- | qadevOOo/runner/lib/MultiMethodTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/runner/lib/MultiMethodTest.java b/qadevOOo/runner/lib/MultiMethodTest.java index c1f0b308f07b..aabd919054e3 100644 --- a/qadevOOo/runner/lib/MultiMethodTest.java +++ b/qadevOOo/runner/lib/MultiMethodTest.java @@ -290,7 +290,7 @@ public class MultiMethodTest * @param methName the method name to set status * @param methStatus the status to set to the method */ - protected void setStatus(String methName, Status methStatus) + private void setStatus(String methName, Status methStatus) { tRes.tested(methName, methStatus); } @@ -298,7 +298,7 @@ public class MultiMethodTest /** * sets the substates */ - protected void setSubStates(String msg) + private void setSubStates(String msg) { for (int k = 0; k < entry.SubEntryCount; k++) { @@ -332,7 +332,7 @@ public class MultiMethodTest /** * Checks if the <code>method</code> test has been already called. */ - protected boolean isCalled(String method) + private boolean isCalled(String method) { return methCalled.contains(method); } @@ -373,7 +373,7 @@ public class MultiMethodTest /** * Just calls the <code>method</code> test. */ - protected void callMethod(String method) + private void callMethod(String method) { methCalled.add(method); invokeTestMethod(getMethodFor(method), method); @@ -440,7 +440,7 @@ public class MultiMethodTest * * @return the testing method, if found, <tt>null</tt> otherwise */ - protected Method getMethodFor(String method) + private Method getMethodFor(String method) { String mName = "_" + method; |