9
0
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:
William
2022-11-14 11:04:41 +00:00
parent df247b41f4
commit 51cf7beeb8

View File

@@ -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)