From 8cd0fc50aa895d5c1588623a7675dd5679752379 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Jun 2012 16:13:34 +0200 Subject: Java - remove dead equals() methods Change-Id: Ib687f314272f6a8f0d6c609a1fd06e4061fd0f39 --- qadevOOo/tests/java/mod/_sch/ChXChartView.java | 3 --- qadevOOo/tests/java/mod/_sd/DrawController_DrawView.java | 5 +---- qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java | 5 +---- qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java | 5 +---- qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java | 5 +---- qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java | 5 +---- 6 files changed, 5 insertions(+), 23 deletions(-) (limited to 'qadevOOo') 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; - } }); + }}); -- cgit