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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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;
|
import org.springframework.cache.interceptor.DefaultKeyGenerator;
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public class SomeKeyGenerator extends DefaultKeyGenerator {
|
public class SomeKeyGenerator extends DefaultKeyGenerator {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@ import static org.junit.Assert.*;
|
||||||
* @author Chris Beams
|
* @author Chris Beams
|
||||||
* @since 09.12.2003
|
* @since 09.12.2003
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("resource")
|
||||||
public final class AutoProxyCreatorTests {
|
public final class AutoProxyCreatorTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
@ -352,6 +353,7 @@ public final class AutoProxyCreatorTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@SuppressWarnings("serial")
|
||||||
public static class FallbackTestAutoProxyCreator extends TestAutoProxyCreator {
|
public static class FallbackTestAutoProxyCreator extends TestAutoProxyCreator {
|
||||||
|
|
||||||
public FallbackTestAutoProxyCreator() {
|
public FallbackTestAutoProxyCreator() {
|
||||||
|
|
@ -381,6 +383,7 @@ public final class AutoProxyCreatorTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@SuppressWarnings("serial")
|
||||||
public static class ContainerCallbackInterfacesOnly // as well as an empty marker interface
|
public static class ContainerCallbackInterfacesOnly // as well as an empty marker interface
|
||||||
implements BeanFactoryAware, ApplicationContextAware, InitializingBean, DisposableBean, Serializable {
|
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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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;
|
import org.springframework.cache.interceptor.DefaultKeyGenerator;
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public class SomeKeyGenerator extends DefaultKeyGenerator {
|
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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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.junit.Test;
|
||||||
|
|
||||||
import org.springframework.aop.Pointcut;
|
|
||||||
import org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator;
|
import org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator;
|
||||||
import org.springframework.aop.interceptor.SimpleTraceInterceptor;
|
import org.springframework.aop.interceptor.SimpleTraceInterceptor;
|
||||||
import org.springframework.aop.support.DefaultPointcutAdvisor;
|
import org.springframework.aop.support.DefaultPointcutAdvisor;
|
||||||
|
|
@ -255,6 +254,7 @@ public class BeanMethodPolymorphismTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@SuppressWarnings("serial")
|
||||||
public static class TestAdvisor extends DefaultPointcutAdvisor {
|
public static class TestAdvisor extends DefaultPointcutAdvisor {
|
||||||
|
|
||||||
public TestAdvisor() {
|
public TestAdvisor() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue