Permalink
Browse files

Clean up warnings that show up in Gradle build

  • Loading branch information...
1 parent 019d29c commit fbdebc1bd6a8cdebbe599db580c6682ea9360e79 @sbrannen sbrannen committed Feb 26, 2014
@@ -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 @@
import org.springframework.cache.interceptor.DefaultKeyGenerator;
+@SuppressWarnings("deprecation")
public class SomeKeyGenerator extends DefaultKeyGenerator {
-
}
@@ -50,6 +50,7 @@
* @author Chris Beams
* @since 09.12.2003
*/
+@SuppressWarnings("resource")
public final class AutoProxyCreatorTests {
@Test
@@ -352,6 +353,7 @@ else if (name.endsWith("ToBeProxied")) {
}
+ @SuppressWarnings("serial")
public static class FallbackTestAutoProxyCreator extends TestAutoProxyCreator {
public FallbackTestAutoProxyCreator() {
@@ -381,6 +383,7 @@ public Object invoke(MethodInvocation invocation) throws Throwable {
}
+ @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 @@
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 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 @@ String aString() {
}
+ @SuppressWarnings("serial")
public static class TestAdvisor extends DefaultPointcutAdvisor {
public TestAdvisor() {

0 comments on commit fbdebc1

Please sign in to comment.