mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-31 12:46:51 +00:00
Remove redundant compiler warning suppressors
This commit is contained in:
@@ -143,7 +143,6 @@ public class Settings {
|
||||
return Map.entry(name().toLowerCase(), defaultName);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private static Map<String, String> getDefaults() {
|
||||
return Map.ofEntries(Arrays.stream(values())
|
||||
.map(TableName::toEntry)
|
||||
@@ -179,7 +178,6 @@ public class Settings {
|
||||
return Map.entry(name().toLowerCase(), enabledByDefault);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private static Map<String, Boolean> getDefaults() {
|
||||
return Map.ofEntries(Arrays.stream(values())
|
||||
.map(SynchronizationFeature::toEntry)
|
||||
|
||||
Reference in New Issue
Block a user