diff --git a/src/main/java/de/joethei/hs/java2/praktikum/praktikum2/CharCollection.java b/src/main/java/de/joethei/hs/java2/praktikum/praktikum2/CharCollection.java index d770d4f..dcc4a5f 100644 --- a/src/main/java/de/joethei/hs/java2/praktikum/praktikum2/CharCollection.java +++ b/src/main/java/de/joethei/hs/java2/praktikum/praktikum2/CharCollection.java @@ -1,22 +1,19 @@ package de.joethei.hs.java2.praktikum.praktikum2; -import com.sun.istack.internal.NotNull; - import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; -import java.util.logging.Logger; public class CharCollection implements Cloneable{ private List list = new ArrayList<>(); - public CharCollection(@NotNull char... cc) { + public CharCollection(char... cc) { for(char c:cc) this.list.add(c); } - public CharCollection(@NotNull String s) { + public CharCollection(String s) { for(char c : s.toCharArray()) { this.list.add(c); }