From fcdeabe55f7f6a3091bc11dad8f317bad532799e Mon Sep 17 00:00:00 2001 From: Johannes Theiner Date: Thu, 12 Apr 2018 14:42:11 +0200 Subject: [PATCH] whups --- .../hs/java2/praktikum/praktikum2/CharCollection.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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); }