sonar fixed 25022019

This commit is contained in:
Ingmar Goudt 2019-02-26 09:19:46 +01:00
parent 4e3ecc262c
commit a64e31e697
12 changed files with 145 additions and 137 deletions

View file

@ -92,8 +92,9 @@ public class MatchesTableModel extends AbstractTableModel {
}
case 9:
return matches[arg0].getGames();
default:
return "";
}
return "";
}
public java.util.List<UUID> getListofGames(int row) {

View file

@ -185,8 +185,9 @@ public class PlayersChatPanel extends javax.swing.JPanel {
return players[rowIndex].getInfoGames();
case 9:
return players[rowIndex].getInfoPing();
default:
return "";
}
return "";
}
@Override

View file

@ -10,9 +10,6 @@ public class TableInfo {
private List<ColumnInfo> columns = new ArrayList<>();
public TableInfo() {
}
public TableInfo addColumn(Integer index, Integer width, Class colClass, String headerName, String headerHint) {
this.columns.add(new ColumnInfo(index, width, colClass, headerName, headerHint));