forked from SteamWar/SteamWar
Remove log in SchematicType
This commit is contained in:
@@ -19,13 +19,11 @@
|
||||
|
||||
package de.steamwar.sql;
|
||||
|
||||
import de.steamwar.sql.internal.SQLConfig;
|
||||
import de.steamwar.sql.internal.SqlTypeMapper;
|
||||
import lombok.Getter;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.*;
|
||||
import java.util.logging.Level;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class SchematicType {
|
||||
@@ -42,7 +40,6 @@ public class SchematicType {
|
||||
tmpTypes.add(Normal);
|
||||
tmpFromDB.put(Normal.name().toLowerCase(), Normal);
|
||||
|
||||
long time = System.currentTimeMillis();
|
||||
File folder = SQLWrapper.impl.getSchemTypesFolder();
|
||||
if (folder.exists()) {
|
||||
for (File configFile : Arrays.stream(folder.listFiles((file, name) -> name.endsWith(".yml") && !name.endsWith(".kits.yml"))).sorted().collect(Collectors.toList())) {
|
||||
@@ -60,8 +57,6 @@ public class SchematicType {
|
||||
SQLWrapper.impl.processSchematicType(gameModeConfig);
|
||||
}
|
||||
}
|
||||
time = System.currentTimeMillis() - time;
|
||||
SQLConfig.impl.getLogger().log(Level.INFO, "Loaded {} Schematic Types in {}ms", new Object[]{tmpTypes.size(), time});
|
||||
|
||||
fromDB = Collections.unmodifiableMap(tmpFromDB);
|
||||
types = Collections.unmodifiableList(tmpTypes);
|
||||
|
||||
Reference in New Issue
Block a user