Clean up warnings in spring-core

This commit is contained in:
Sam Brannen 2016-07-11 17:44:03 +02:00
parent 147a35f4f1
commit 3d4338f555
2 changed files with 0 additions and 4 deletions

View File

@ -16,9 +16,6 @@
package org.springframework.core.env; package org.springframework.core.env;
import org.springframework.core.convert.ConversionException;
import org.springframework.util.ClassUtils;
/** /**
* {@link PropertyResolver} implementation that resolves property values against * {@link PropertyResolver} implementation that resolves property values against
* an underlying set of {@link PropertySources}. * an underlying set of {@link PropertySources}.

View File

@ -91,7 +91,6 @@ public class ListenableFutureCallbackRegistry<T> {
* @param callback the success callback to add * @param callback the success callback to add
* @since 4.1 * @since 4.1
*/ */
@SuppressWarnings("unchecked")
public void addSuccessCallback(SuccessCallback<? super T> callback) { public void addSuccessCallback(SuccessCallback<? super T> callback) {
Assert.notNull(callback, "'callback' must not be null"); Assert.notNull(callback, "'callback' must not be null");
synchronized (this.mutex) { synchronized (this.mutex) {