weird null fix and added last row now too
This commit is contained in:
parent
475d1a09fa
commit
52003692fa
@ -40,9 +40,9 @@ public class DataMapperCalls {
|
|||||||
Player player = new Player(result.getString(1), result.getString(2));
|
Player player = new Player(result.getString(1), result.getString(2));
|
||||||
//System.out.println("player dataMapper: " + player.getName() + "\nsteamid: " + player.getSteamID());
|
//System.out.println("player dataMapper: " + player.getName() + "\nsteamid: " + player.getSteamID());
|
||||||
int i = 3;
|
int i = 3;
|
||||||
while (i < fetchSize) {
|
while (i <= fetchSize) {
|
||||||
String specificTime = result.getString(i);
|
String specificTime = result.getString(i);
|
||||||
if (!specificTime.equals("0.000")) {
|
if (specificTime != null && !specificTime.equals("0.000")) {
|
||||||
String columnLabel = result.getMetaData().getColumnLabel(i);
|
String columnLabel = result.getMetaData().getColumnLabel(i);
|
||||||
if (!allMapBoards.keySet().contains(columnLabel)) {
|
if (!allMapBoards.keySet().contains(columnLabel)) {
|
||||||
allMapBoards.put(columnLabel, new MapBoard(columnLabel));
|
allMapBoards.put(columnLabel, new MapBoard(columnLabel));
|
||||||
|
Loading…
Reference in New Issue
Block a user