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