Browse Source

Removed unnecessary braces from annotations

2.0.x
Luke Taylor 18 years ago
parent
commit
9372f6175b
  1. 6
      core-tiger/src/test/java/org/springframework/security/annotation/Jsr250BusinessServiceImpl.java

6
core-tiger/src/test/java/org/springframework/security/annotation/Jsr250BusinessServiceImpl.java

@ -12,11 +12,11 @@ import javax.annotation.security.PermitAll; @@ -12,11 +12,11 @@ import javax.annotation.security.PermitAll;
@PermitAll
public class Jsr250BusinessServiceImpl implements BusinessService {
@RolesAllowed({"ROLE_USER"})
@RolesAllowed("ROLE_USER")
public void someUserMethod1() {
}
@RolesAllowed({"ROLE_USER"})
@RolesAllowed("ROLE_USER")
public void someUserMethod2() {
}
@ -24,7 +24,7 @@ public class Jsr250BusinessServiceImpl implements BusinessService { @@ -24,7 +24,7 @@ public class Jsr250BusinessServiceImpl implements BusinessService {
public void someUserAndAdminMethod() {
}
@RolesAllowed({"ROLE_ADMIN"})
@RolesAllowed("ROLE_ADMIN")
public void someAdminMethod() {
}

Loading…
Cancel
Save