Remove unnecessary @SuppressWarnings annotation declarations.

This commit is contained in:
John Blum
2020-05-14 19:09:59 -07:00
parent 5b7437dad2
commit 9e2baf987a

View File

@@ -122,7 +122,6 @@ public class ClusterAwareConfiguration extends AbstractAnnotationConfigSupport {
}
@Override
@SuppressWarnings("all")
public synchronized boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) {
if (clusterAvailable.get() == null) {
@@ -183,7 +182,6 @@ public class ClusterAwareConfiguration extends AbstractAnnotationConfigSupport {
);
}
@SuppressWarnings("all")
List<ConnectionEndpoint> getConfiguredConnectionEndpoints(Environment environment) {
List<ConnectionEndpoint> connectionEndpoints = new ArrayList<>();