Clean up warnings in spring-core
This commit is contained in:
parent
147a35f4f1
commit
3d4338f555
|
@ -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}.
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue