From 51cf7beeb81c836b6169da646e2b41a36168d6d0 Mon Sep 17 00:00:00 2001 From: William Date: Mon, 14 Nov 2022 11:04:41 +0000 Subject: [PATCH] Remove redundant compiler warning suppressors --- .../src/main/java/net/william278/husksync/config/Settings.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/src/main/java/net/william278/husksync/config/Settings.java b/common/src/main/java/net/william278/husksync/config/Settings.java index 7ab05e23..d725b919 100644 --- a/common/src/main/java/net/william278/husksync/config/Settings.java +++ b/common/src/main/java/net/william278/husksync/config/Settings.java @@ -143,7 +143,6 @@ public class Settings { return Map.entry(name().toLowerCase(), defaultName); } - @SuppressWarnings("unchecked") private static Map 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 getDefaults() { return Map.ofEntries(Arrays.stream(values()) .map(SynchronizationFeature::toEntry)