Clean up warnings in spring-core

master
Sam Brannen 8 years ago
parent 147a35f4f1
commit 3d4338f555
  1. 3
      spring-core/src/main/java/org/springframework/core/env/PropertySourcesPropertyResolver.java
  2. 1
      spring-core/src/main/java/org/springframework/util/concurrent/ListenableFutureCallbackRegistry.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}.

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

Loading…
Cancel
Save