add nullcheck (fix #96)
This commit is contained in:
parent
22a6cfd851
commit
b66c0d5c5c
|
@ -369,8 +369,10 @@ public class ScoreDB {
|
||||||
version = s.version;
|
version = s.version;
|
||||||
list = new ArrayList<ScoreData>();
|
list = new ArrayList<ScoreData>();
|
||||||
}
|
}
|
||||||
|
if (list != null) {
|
||||||
list.add(s);
|
list.add(s);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (list != null)
|
if (list != null)
|
||||||
map.put(version, getSortedArray(list));
|
map.put(version, getSortedArray(list));
|
||||||
rs.close();
|
rs.close();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user