return file.exists() ? readPropertiesFromFile(file) : new Properties();
}
private static Properties readPropertiesFromFile(File file) {
try {
return new PropertiesReader(file).read();
} catch (Exception ex) {
ErrorLog.log(KnownServerFileStorage.class,
"Failed to read local server information: " + ex.getMessage(), ex);
return new Properties();
}