Browse Source

Remove dead code in AclAuthorizationStrategyImplTests

Johnny Lim 8 năm trước cách đây
mục cha
commit
3185876a7d

+ 0 - 1
acl/src/test/java/org/springframework/security/acls/domain/AclAuthorizationStrategyImplTests.java

@@ -45,7 +45,6 @@ public class AclAuthorizationStrategyImplTests {
 	@Before
 	public void setup() {
 		authority = new SimpleGrantedAuthority("ROLE_AUTH");
-		strategy = new AclAuthorizationStrategyImpl(authority);
 		TestingAuthenticationToken authentication = new TestingAuthenticationToken("foo", "bar", Arrays.asList(authority));
 		authentication.setAuthenticated(true);
 		SecurityContextHolder.getContext().setAuthentication(authentication);