This commit is contained in:
stiv2804 2019-02-14 14:05:26 +01:00
parent f202129510
commit 086adb3d47

View file

@ -74,7 +74,7 @@ public class ScoreEntry implements Comparable<ScoreEntry> {
* @return Ein ScoreEntry-Objekt oder null
*/
public static ScoreEntry read(String line) {
String[] parts = line.split(";");
String[] parts = line.split(";");
if(parts.length != 4)
return null;
ScoreEntry res = new ScoreEntry(parts[0], Integer.parseInt(parts[1]), new Date(Long.parseLong(parts[2])), parts[3]);