Leon vor 6 Jahren
Ursprung
Commit
f6d67906de

+ 2
- 2
src/main/java/rocks/zipcode/io/quiz4/collections/ComparableTreeSet.java Datei anzeigen

11
     public ComparableTreeSet() {
11
     public ComparableTreeSet() {
12
     }
12
     }
13
 
13
 
14
-    public Integer compareTo(ComparableTreeSet<_> o) {
15
-        return null;
14
+    public int compareTo(ComparableTreeSet<_> o) {
15
+        return Integer.valueOf(null);
16
     }
16
     }
17
 }
17
 }

+ 1
- 1
src/test/java/rocks/zipcode/io/quiz4/objectorientation/palindromeobject/PalindromeObjectIsPalindromeTestNegative.java Datei anzeigen

25
     }
25
     }
26
 
26
 
27
     public void test(String input) {
27
     public void test(String input) {
28
-        Assert.assertTrue(new PalindromeObject(input).isPalindrome());
28
+        Assert.assertFalse(new PalindromeObject(input).isPalindrome());
29
     }
29
     }
30
 }
30
 }