create TeamTest
This commit is contained in:
@@ -34,8 +34,6 @@ public class LogConfiguration {
|
||||
logger.fine("Getting and reading logconfig file from " + propertiesPath);
|
||||
InputStream logConfig = this.getClass().getClassLoader().getResourceAsStream(propertiesPath);
|
||||
LogManager.getLogManager().readConfiguration(logConfig);
|
||||
|
||||
|
||||
Logger.getLogger(LogConfiguration.class.getPackageName());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
|
||||
/**
|
||||
* Class Team represents a team that can be added to a tournament
|
||||
* (in the prototype there is no functionality for the team)
|
||||
@@ -22,7 +21,7 @@ public class Team implements Participant {
|
||||
* @param name the new name to be set
|
||||
*/
|
||||
public Team(String name) {
|
||||
logger.fine("Setting the new name of the team as: " + name);
|
||||
logger.fine("Setting the new name of the team as: " + name);
|
||||
setName(name);
|
||||
players = new ArrayList<>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user