Remove unnecessary method
This commit is contained in:
parent
6722d8ee02
commit
3a3ecefed2
|
@ -41,11 +41,6 @@ public class Competitor implements Comparable<Competitor> {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String timeToString(int time) {
|
|
||||||
SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss");
|
|
||||||
return df.format(new Date(time));
|
|
||||||
}
|
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return ""+ rank + " "+name+" "+time;
|
return ""+ rank + " "+name+" "+time;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue