diff --git a/core/src/test/java/org/acegisecurity/providers/anonymous/AnonymousAuthenticationTokenTests.java b/core/src/test/java/org/acegisecurity/providers/anonymous/AnonymousAuthenticationTokenTests.java index 207905b439..cba7df2382 100644 --- a/core/src/test/java/org/acegisecurity/providers/anonymous/AnonymousAuthenticationTokenTests.java +++ b/core/src/test/java/org/acegisecurity/providers/anonymous/AnonymousAuthenticationTokenTests.java @@ -93,9 +93,6 @@ public class AnonymousAuthenticationTokenTests extends TestCase { } public void testEqualsWhenEqual() { - List proxyList1 = new Vector(); - proxyList1.add("https://localhost/newPortal/j_acegi_cas_security_check"); - AnonymousAuthenticationToken token1 = new AnonymousAuthenticationToken("key", "Test", new GrantedAuthority[] {new GrantedAuthorityImpl("ROLE_ONE"), new GrantedAuthorityImpl("ROLE_TWO")}); diff --git a/core/src/test/java/org/acegisecurity/providers/rememberme/RememberMeAuthenticationTokenTests.java b/core/src/test/java/org/acegisecurity/providers/rememberme/RememberMeAuthenticationTokenTests.java index c063df3441..42326bc2f1 100644 --- a/core/src/test/java/org/acegisecurity/providers/rememberme/RememberMeAuthenticationTokenTests.java +++ b/core/src/test/java/org/acegisecurity/providers/rememberme/RememberMeAuthenticationTokenTests.java @@ -79,9 +79,6 @@ public class RememberMeAuthenticationTokenTests extends TestCase { } public void testEqualsWhenEqual() { - List proxyList1 = new Vector(); - proxyList1.add("https://localhost/newPortal/j_acegi_cas_security_check"); - RememberMeAuthenticationToken token1 = new RememberMeAuthenticationToken("key", "Test", new GrantedAuthority[] {new GrantedAuthorityImpl("ROLE_ONE"), new GrantedAuthorityImpl("ROLE_TWO")});