Clean up warnings that show up in Gradle build
This commit is contained in:
parent
019d29c991
commit
fbdebc1bd6
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -18,6 +18,6 @@ package org.springframework.cache.config;
|
|||
|
||||
import org.springframework.cache.interceptor.DefaultKeyGenerator;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public class SomeKeyGenerator extends DefaultKeyGenerator {
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ import static org.junit.Assert.*;
|
|||
* @author Chris Beams
|
||||
* @since 09.12.2003
|
||||
*/
|
||||
@SuppressWarnings("resource")
|
||||
public final class AutoProxyCreatorTests {
|
||||
|
||||
@Test
|
||||
|
|
@ -352,6 +353,7 @@ public final class AutoProxyCreatorTests {
|
|||
}
|
||||
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public static class FallbackTestAutoProxyCreator extends TestAutoProxyCreator {
|
||||
|
||||
public FallbackTestAutoProxyCreator() {
|
||||
|
|
@ -381,6 +383,7 @@ public final class AutoProxyCreatorTests {
|
|||
}
|
||||
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public static class ContainerCallbackInterfacesOnly // as well as an empty marker interface
|
||||
implements BeanFactoryAware, ApplicationContextAware, InitializingBean, DisposableBean, Serializable {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2011 the original author or authors.
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -18,6 +18,6 @@ package org.springframework.cache.config;
|
|||
|
||||
import org.springframework.cache.interceptor.DefaultKeyGenerator;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public class SomeKeyGenerator extends DefaultKeyGenerator {
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -20,7 +20,6 @@ import java.util.List;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.springframework.aop.Pointcut;
|
||||
import org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator;
|
||||
import org.springframework.aop.interceptor.SimpleTraceInterceptor;
|
||||
import org.springframework.aop.support.DefaultPointcutAdvisor;
|
||||
|
|
@ -255,6 +254,7 @@ public class BeanMethodPolymorphismTests {
|
|||
}
|
||||
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public static class TestAdvisor extends DefaultPointcutAdvisor {
|
||||
|
||||
public TestAdvisor() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue