Code cleanup

This commit is contained in:
Rammelkast committed 2020-03-31 13:15:59 +02:00
1 parent 6afe0049c5
commit f88c31051b
13 files changed
+28 -36

No files matched your search

@@ -170,7 +170,8 @@ public class ConfigurationFile {
return path;
}
public T getValue() {
@SuppressWarnings("unchecked")
public T getValue() {
return (T) value;
}
@@ -180,7 +181,8 @@ public class ConfigurationFile {
return value;
}
public T getDefaultValue() {
@SuppressWarnings("unchecked")
public T getDefaultValue() {
return (T) getDefaultConfigFile().get(path);
}