refactored toString Method of class TournamentFile
This commit is contained in:
parent
5034203409
commit
a3bd207610
|
@ -136,8 +136,7 @@ public class FileIO {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString(){
|
public String toString(){
|
||||||
String name = getName();
|
return getName().split("\\.")[0];
|
||||||
return name.split("\\.")[0];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue