diff options
author | Noel Grandin <noel@peralex.com> | 2012-06-27 16:13:34 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 22:03:01 +0200 |
commit | 8cd0fc50aa895d5c1588623a7675dd5679752379 (patch) | |
tree | 85518f12f97f2e89e2eb580d4a45f44b7d7ba1ab /qadevOOo | |
parent | Java5 update - convert more code to use generics:wq (diff) | |
download | core-8cd0fc50aa895d5c1588623a7675dd5679752379.tar.gz core-8cd0fc50aa895d5c1588623a7675dd5679752379.zip |
Java - remove dead equals() methods
Change-Id: Ib687f314272f6a8f0d6c609a1fd06e4061fd0f39
Diffstat (limited to 'qadevOOo')
6 files changed, 5 insertions, 23 deletions
diff --git a/qadevOOo/tests/java/mod/_sch/ChXChartView.java b/qadevOOo/tests/java/mod/_sch/ChXChartView.java index b94a3431aac4..e9597f036f54 100644 --- a/qadevOOo/tests/java/mod/_sch/ChXChartView.java +++ b/qadevOOo/tests/java/mod/_sch/ChXChartView.java @@ -123,9 +123,6 @@ public class ChXChartView extends TestCase { } return 1; } - public boolean equals(Object obj) { - return compare(this, obj) == 0; - } } ); return tEnv; diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_DrawView.java b/qadevOOo/tests/java/mod/_sd/DrawController_DrawView.java index 166d3b2ce141..650e34ba4643 100644 --- a/qadevOOo/tests/java/mod/_sd/DrawController_DrawView.java +++ b/qadevOOo/tests/java/mod/_sd/DrawController_DrawView.java @@ -231,10 +231,7 @@ public class DrawController_DrawView extends TestCase { return 0; } return 1; - } - public boolean equals(Object obj) { - return compare(this, obj) == 0; - } }); + }}); diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java b/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java index f7d28e007b4b..d7af0fa57ae3 100644 --- a/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java +++ b/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java @@ -260,10 +260,7 @@ public class DrawController_HandoutView extends TestCase { return 0; } return 1; - } - public boolean equals(Object obj) { - return compare(this, obj) == 0; - } }); + }}); diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java b/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java index f82f7f32c54b..6a8686b16c01 100644 --- a/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java +++ b/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java @@ -257,10 +257,7 @@ public class DrawController_NotesView extends TestCase { return 0; } return 1; - } - public boolean equals(Object obj) { - return compare(this, obj) == 0; - } }); + }}); diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java b/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java index 8bdf5b0b12dd..a3518dec956e 100644 --- a/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java +++ b/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java @@ -257,10 +257,7 @@ public class DrawController_OutlineView extends TestCase { return 0; } return 1; - } - public boolean equals(Object obj) { - return compare(this, obj) == 0; - } }); + }}); diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java b/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java index 2a6590f1530b..d02b358d168d 100644 --- a/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java +++ b/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java @@ -257,10 +257,7 @@ public class DrawController_PresentationView extends TestCase { return 0; } return 1; - } - public boolean equals(Object obj) { - return compare(this, obj) == 0; - } }); + }}); |