Only info not a warning if a file is missing

This commit is contained in:
snowleo 2011-12-20 12:24:59 +01:00
parent ee5e015a63
commit 4425d53664

View File

@ -6,10 +6,8 @@ import java.io.FileNotFoundException;
import java.io.FileReader; import java.io.FileReader;
import java.io.IOException; import java.io.IOException;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;
import org.yaml.snakeyaml.error.YAMLException;
public abstract class AbstractDelayedYamlFileReader<T extends StorageObject> implements Runnable public abstract class AbstractDelayedYamlFileReader<T extends StorageObject> implements Runnable
@ -56,7 +54,7 @@ public abstract class AbstractDelayedYamlFileReader<T extends StorageObject> imp
catch (FileNotFoundException ex) catch (FileNotFoundException ex)
{ {
onException(); onException();
Bukkit.getLogger().log(Level.WARNING, "File not found: " + file.toString()); Bukkit.getLogger().log(Level.INFO, "File not found: " + file.toString());
} }
catch (ObjectLoadException ex) catch (ObjectLoadException ex)
{ {