Archiviert
1
0

Merge pull request 'Remove PUB (Öffentlich) team from /team info after /softreload' (#137) from TeamInfo into master

Reviewed-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
YoyoNow 2020-10-24 21:00:16 +02:00
Commit 1b0bbc0528

Datei anzeigen

@ -43,8 +43,10 @@ public class Team {
teamKuerzel = kuerzel; teamKuerzel = kuerzel;
teamName = name; teamName = name;
teamLeader = leader; teamLeader = leader;
if (leader != 0) {
teamCache.add(this); teamCache.add(this);
} }
}
private Team(ResultSet rs) throws SQLException { private Team(ResultSet rs) throws SQLException {
this(rs.getInt("TeamID"), rs.getString("TeamKuerzel"), rs.getString("TeamName"), rs.getInt("TeamLeader")); this(rs.getInt("TeamID"), rs.getString("TeamKuerzel"), rs.getString("TeamName"), rs.getInt("TeamLeader"));