Browse Source

Clean up warnings that show up in Gradle build

pull/471/head
Sam Brannen 12 years ago
parent
commit
fbdebc1bd6
  1. 4
      spring-aspects/src/test/java/org/springframework/cache/config/SomeKeyGenerator.java
  2. 3
      spring-context/src/test/java/org/springframework/aop/framework/autoproxy/AutoProxyCreatorTests.java
  3. 4
      spring-context/src/test/java/org/springframework/cache/config/SomeKeyGenerator.java
  4. 4
      spring-context/src/test/java/org/springframework/context/annotation/BeanMethodPolymorphismTests.java

4
spring-aspects/src/test/java/org/springframework/cache/config/SomeKeyGenerator.java vendored

@ -1,5 +1,5 @@ @@ -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; @@ -18,6 +18,6 @@ package org.springframework.cache.config;
import org.springframework.cache.interceptor.DefaultKeyGenerator;
@SuppressWarnings("deprecation")
public class SomeKeyGenerator extends DefaultKeyGenerator {
}

3
spring-context/src/test/java/org/springframework/aop/framework/autoproxy/AutoProxyCreatorTests.java

@ -50,6 +50,7 @@ import static org.junit.Assert.*; @@ -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 { @@ -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 { @@ -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 {

4
spring-context/src/test/java/org/springframework/cache/config/SomeKeyGenerator.java vendored

@ -1,5 +1,5 @@ @@ -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; @@ -18,6 +18,6 @@ package org.springframework.cache.config;
import org.springframework.cache.interceptor.DefaultKeyGenerator;
@SuppressWarnings("deprecation")
public class SomeKeyGenerator extends DefaultKeyGenerator {
}

4
spring-context/src/test/java/org/springframework/context/annotation/BeanMethodPolymorphismTests.java

@ -1,5 +1,5 @@ @@ -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; @@ -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 { @@ -255,6 +254,7 @@ public class BeanMethodPolymorphismTests {
}
@SuppressWarnings("serial")
public static class TestAdvisor extends DefaultPointcutAdvisor {
public TestAdvisor() {

Loading…
Cancel
Save