summaryrefslogtreecommitdiff
path: root/bridges/test/java_uno/any/TestAny.java
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/test/java_uno/any/TestAny.java')
-rw-r--r--bridges/test/java_uno/any/TestAny.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/bridges/test/java_uno/any/TestAny.java b/bridges/test/java_uno/any/TestAny.java
index 752f2c303d3c..1e1f066dde06 100644
--- a/bridges/test/java_uno/any/TestAny.java
+++ b/bridges/test/java_uno/any/TestAny.java
@@ -2182,10 +2182,6 @@ final class TestAny {
super(0);
}
- public static Enum1 fromInt(int value) {
- return new Enum1();
- }
-
@Override
public boolean equals(Object obj) {
return obj != null && obj.getClass() == Enum1.class;
@@ -2216,10 +2212,6 @@ final class TestAny {
private static class BaseException extends com.sun.star.uno.Exception {
public BaseException() {}
- private BaseException(String message) {
- super(message);
- }
-
@Override
public boolean equals(Object obj) {
return obj != null && obj.getClass() == BaseException.class;
@@ -2229,10 +2221,6 @@ final class TestAny {
private static class DerivedException extends BaseException {
public DerivedException() {}
- public DerivedException(String message) {
- super(message);
- }
-
@Override
public boolean equals(Object obj) {
return obj != null && obj.getClass() == DerivedException.class;
@@ -2244,10 +2232,6 @@ final class TestAny {
{
public BaseRuntimeException() {}
- private BaseRuntimeException(String message) {
- super(message);
- }
-
@Override
public boolean equals(Object obj) {
return obj != null
@@ -2259,10 +2243,6 @@ final class TestAny {
{
public DerivedRuntimeException() {}
- public DerivedRuntimeException(String message) {
- super(message);
- }
-
@Override
public boolean equals(Object obj) {
return obj != null