diff --git a/list/.idea/vcs.xml b/list/.idea/vcs.xml index 94a25f7..288b36b 100644 --- a/list/.idea/vcs.xml +++ b/list/.idea/vcs.xml @@ -1,6 +1,7 @@ + \ No newline at end of file diff --git a/list/src/main/java/de/vivi/list/Main.java b/list/src/main/java/de/vivi/list/Main.java index 2d7d6ff..01e2ff7 100644 --- a/list/src/main/java/de/vivi/list/Main.java +++ b/list/src/main/java/de/vivi/list/Main.java @@ -32,8 +32,8 @@ public class Main { list.remove(3); // set the element at the specified index - list.set(1, 43); - list.set(0, 8); + list.set(1, (byte) 43); + list.set(0, (byte) 8); // get the element at the specified index list.get(2);