summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2009-01-14 04:39:48 (EST)
committerCarsten Drossel2009-01-14 04:39:48 (EST)
commitb97f963273360b2b78cb1f0f16b514387d0c1cfe (patch)
treee2a885c8931b6ea8c5432df915860a004bcd6e9b
parentb4b010faf239877cdce5d2492b3e6c79da6e61ae (diff)
downloadorg.eclipse.riena-b97f963273360b2b78cb1f0f16b514387d0c1cfe.zip
org.eclipse.riena-b97f963273360b2b78cb1f0f16b514387d0c1cfe.tar.gz
org.eclipse.riena-b97f963273360b2b78cb1f0f16b514387d0c1cfe.tar.bz2
handling Checkstyle and FindBugs warnings
-rw-r--r--org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/SingleChoiceRidgetTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/SingleChoiceRidgetTest.java b/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/SingleChoiceRidgetTest.java
index f6ba350..aa7a654 100644
--- a/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/SingleChoiceRidgetTest.java
+++ b/org.eclipse.riena.tests/src/org/eclipse/riena/internal/ui/ridgets/swt/SingleChoiceRidgetTest.java
@@ -92,8 +92,10 @@ public final class SingleChoiceRidgetTest extends MarkableRidgetTest {
}
/**
- * Test method getSelectionObservable().
+ * Test method getSelectionObservable(). This test may be deleted when this
+ * deprecated method is removed.
*/
+ @SuppressWarnings("deprecation")
public void testGetSelectionObservable() {
ISingleChoiceRidget ridget = getRidget();
@@ -561,7 +563,7 @@ public final class SingleChoiceRidgetTest extends MarkableRidgetTest {
ISingleChoiceRidget ridget = getRidget();
ChoiceComposite control = getWidget();
- List<String> values = Arrays.asList(new String("male"), new String("female"));
+ List<String> values = Arrays.asList("male", "female");
List<String> labels = Arrays.asList("Man", "Woman");
Person personEntity = new Person("Max", "Mustermann");
personEntity.setGender("male");