From 17d15cc495a9a00306956c2255df77b3ec5d31a9 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 27 Jun 2014 11:04:41 +0200 Subject: [PATCH] Fix warning --- .../org/springframework/cache/config/CustomInterceptorTests.java | 1 + .../scheduling/annotation/AsyncExecutionTests.java | 1 + 2 files changed, 2 insertions(+) diff --git a/spring-context/src/test/java/org/springframework/cache/config/CustomInterceptorTests.java b/spring-context/src/test/java/org/springframework/cache/config/CustomInterceptorTests.java index 653a1b2edd..b3a63c0dc7 100644 --- a/spring-context/src/test/java/org/springframework/cache/config/CustomInterceptorTests.java +++ b/spring-context/src/test/java/org/springframework/cache/config/CustomInterceptorTests.java @@ -113,6 +113,7 @@ public class CustomInterceptorTests { * A test {@link CacheInterceptor} that handles special exception * types. */ + @SuppressWarnings("serial") static class TestCacheInterceptor extends CacheInterceptor { @Override diff --git a/spring-context/src/test/java/org/springframework/scheduling/annotation/AsyncExecutionTests.java b/spring-context/src/test/java/org/springframework/scheduling/annotation/AsyncExecutionTests.java index 6e50d66346..2e503211ef 100644 --- a/spring-context/src/test/java/org/springframework/scheduling/annotation/AsyncExecutionTests.java +++ b/spring-context/src/test/java/org/springframework/scheduling/annotation/AsyncExecutionTests.java @@ -410,6 +410,7 @@ public class AsyncExecutionTests { @Async + @SuppressWarnings("serial") public static class AsyncClassBean implements Serializable, DisposableBean { public void doSomething(int i) {