Clean up warnings

This commit is contained in:
Sam Brannen
2019-10-30 19:14:58 +01:00
parent 3c17178b16
commit 9f00eb68e9
19 changed files with 20 additions and 13 deletions

View File

@@ -34,6 +34,7 @@ import org.springframework.lang.Nullable;
* @see BeanDefinition#getPropertyValues()
* @see org.springframework.beans.factory.support.BeanDefinitionBuilder#addAutowiredProperty
*/
@SuppressWarnings("serial")
public final class AutowiredPropertyMarker implements Serializable {
/**

View File

@@ -244,6 +244,7 @@ public class GroovyBeanDefinitionReader extends AbstractBeanDefinitionReader imp
logger.trace("Loading Groovy bean definitions from " + encodedResource);
}
@SuppressWarnings("serial")
Closure beans = new Closure(this) {
@Override
public Object call(Object... args) {

View File

@@ -30,6 +30,7 @@ import org.springframework.lang.NonNull;
* @see DefaultListableBeanFactory#setAllowBeanDefinitionOverriding
* @see DefaultListableBeanFactory#registerBeanDefinition
*/
@SuppressWarnings("serial")
public class BeanDefinitionOverrideException extends BeanDefinitionStoreException {
private final BeanDefinition beanDefinition;