diff --git a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/FileIO.java b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/FileIO.java index 2fbcf20..98b6d8b 100644 --- a/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/FileIO.java +++ b/app/src/main/java/ch/zhaw/projekt2/turnierverwaltung/FileIO.java @@ -136,8 +136,7 @@ public class FileIO { } public String toString(){ - String name = getName(); - return name.split("\\.")[0]; + return getName().split("\\.")[0]; } }