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 /bridges/test | |
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 'bridges/test')
-rw-r--r-- | bridges/test/java_uno/any/TestAny.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bridges/test/java_uno/any/TestAny.java b/bridges/test/java_uno/any/TestAny.java index 1e7cf2ec1e4d..752f2c303d3c 100644 --- a/bridges/test/java_uno/any/TestAny.java +++ b/bridges/test/java_uno/any/TestAny.java @@ -2177,7 +2177,7 @@ final class TestAny { private final Class clazz; } - public static class Enum1 extends Enum { + private static class Enum1 extends Enum { public Enum1() { super(0); } @@ -2192,31 +2192,31 @@ final class TestAny { } } - public static class Enum2 extends Enum1 { + private static class Enum2 extends Enum1 { @Override public boolean equals(Object obj) { return obj != null && obj.getClass() == Enum2.class; } } - public static class BaseStruct { + private static class BaseStruct { @Override public boolean equals(Object obj) { return obj != null && obj.getClass() == BaseStruct.class; } } - public static class DerivedStruct extends BaseStruct { + private static class DerivedStruct extends BaseStruct { @Override public boolean equals(Object obj) { return obj != null && obj.getClass() == DerivedStruct.class; } } - public static class BaseException extends com.sun.star.uno.Exception { + private static class BaseException extends com.sun.star.uno.Exception { public BaseException() {} - public BaseException(String message) { + private BaseException(String message) { super(message); } @@ -2226,7 +2226,7 @@ final class TestAny { } } - public static class DerivedException extends BaseException { + private static class DerivedException extends BaseException { public DerivedException() {} public DerivedException(String message) { @@ -2239,12 +2239,12 @@ final class TestAny { } } - public static class BaseRuntimeException + private static class BaseRuntimeException extends com.sun.star.uno.RuntimeException { public BaseRuntimeException() {} - public BaseRuntimeException(String message) { + private BaseRuntimeException(String message) { super(message); } @@ -2255,7 +2255,7 @@ final class TestAny { } } - public static class DerivedRuntimeException extends BaseRuntimeException + private static class DerivedRuntimeException extends BaseRuntimeException { public DerivedRuntimeException() {} |