From 3d4338f5550304c20c6c689a280701b030ef4886 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 11 Jul 2016 17:44:03 +0200 Subject: [PATCH] Clean up warnings in spring-core --- .../core/env/PropertySourcesPropertyResolver.java | 3 --- .../util/concurrent/ListenableFutureCallbackRegistry.java | 1 - 2 files changed, 4 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/core/env/PropertySourcesPropertyResolver.java b/spring-core/src/main/java/org/springframework/core/env/PropertySourcesPropertyResolver.java index fe91909a26..bd4455b2e5 100644 --- a/spring-core/src/main/java/org/springframework/core/env/PropertySourcesPropertyResolver.java +++ b/spring-core/src/main/java/org/springframework/core/env/PropertySourcesPropertyResolver.java @@ -16,9 +16,6 @@ package org.springframework.core.env; -import org.springframework.core.convert.ConversionException; -import org.springframework.util.ClassUtils; - /** * {@link PropertyResolver} implementation that resolves property values against * an underlying set of {@link PropertySources}. diff --git a/spring-core/src/main/java/org/springframework/util/concurrent/ListenableFutureCallbackRegistry.java b/spring-core/src/main/java/org/springframework/util/concurrent/ListenableFutureCallbackRegistry.java index 7d099cda60..e4d310d7ff 100644 --- a/spring-core/src/main/java/org/springframework/util/concurrent/ListenableFutureCallbackRegistry.java +++ b/spring-core/src/main/java/org/springframework/util/concurrent/ListenableFutureCallbackRegistry.java @@ -91,7 +91,6 @@ public class ListenableFutureCallbackRegistry { * @param callback the success callback to add * @since 4.1 */ - @SuppressWarnings("unchecked") public void addSuccessCallback(SuccessCallback callback) { Assert.notNull(callback, "'callback' must not be null"); synchronized (this.mutex) {