Removed unnecessary braces from annotations
This commit is contained in:
parent
503e426707
commit
9372f6175b
|
@ -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() {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue