From c446697de3c69db125a1b3dd041e322262cd1eb4 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Wed, 11 Apr 2012 17:23:07 -0500 Subject: [PATCH] Cleaned up warnings in FilterChainProxyTests --- .../springframework/security/web/FilterChainProxyTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/test/java/org/springframework/security/web/FilterChainProxyTests.java b/web/src/test/java/org/springframework/security/web/FilterChainProxyTests.java index 0ac2606081..78f9b5f500 100644 --- a/web/src/test/java/org/springframework/security/web/FilterChainProxyTests.java +++ b/web/src/test/java/org/springframework/security/web/FilterChainProxyTests.java @@ -28,7 +28,6 @@ import java.util.*; * @author Luke Taylor * @author Rob Winch */ -@SuppressWarnings({"unchecked"}) public class FilterChainProxyTests { private FilterChainProxy fcp; private RequestMatcher matcher; @@ -41,7 +40,7 @@ public class FilterChainProxyTests { public void setup() throws Exception { matcher = mock(RequestMatcher.class); filter = mock(Filter.class); - doAnswer(new Answer() { + doAnswer(new Answer() { public Object answer(InvocationOnMock inv) throws Throwable { Object[] args = inv.getArguments(); FilterChain fc = (FilterChain) args[2];