refactored toString Method of class TournamentFile

This commit is contained in:
schrom01 2022-05-01 11:17:18 +02:00
parent 5034203409
commit a3bd207610
1 changed files with 1 additions and 2 deletions

View File

@ -136,8 +136,7 @@ public class FileIO {
} }
public String toString(){ public String toString(){
String name = getName(); return getName().split("\\.")[0];
return name.split("\\.")[0];
} }
} }