Removed unnecessary braces from annotations

This commit is contained in:
Luke Taylor 2008-02-15 17:09:14 +00:00
parent 503e426707
commit 9372f6175b
1 changed files with 3 additions and 3 deletions

View File

@ -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 {
public void someUserAndAdminMethod() {
}
@RolesAllowed({"ROLE_ADMIN"})
@RolesAllowed("ROLE_ADMIN")
public void someAdminMethod() {
}