}
public static MirPropertiesConfiguration config() {
- try {
+ try {
return MirPropertiesConfiguration.instance();
- } catch (PropertiesConfigExc e) {
- e.printStackTrace();
+ }
+ catch (PropertiesConfigExc e) {
throw new RuntimeException(e.getMessage());
}
}
} catch (Throwable t) {
result = aDefault;
}
-
+
if (result==null)
result = aDefault;