Unnecessary interface modifier
This commit is contained in:
@@ -55,5 +55,5 @@ public @interface Secured {
|
||||
*
|
||||
* @return String[] The secure method attributes
|
||||
*/
|
||||
public String[] value();
|
||||
String[] value();
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ public interface RoleHierarchy {
|
||||
* @param authorities - List of the directly assigned authorities.
|
||||
* @return List of all reachable authorities given the assigned authorities.
|
||||
*/
|
||||
public Collection<? extends GrantedAuthority> getReachableGrantedAuthorities(
|
||||
Collection<? extends GrantedAuthority> getReachableGrantedAuthorities(
|
||||
Collection<? extends GrantedAuthority> authorities);
|
||||
|
||||
}
|
||||
|
||||
@@ -29,5 +29,5 @@ import org.springframework.security.access.SecurityMetadataSource;
|
||||
* @author Ben Alex
|
||||
*/
|
||||
public interface MethodSecurityMetadataSource extends SecurityMetadataSource {
|
||||
public Collection<ConfigAttribute> getAttributes(Method method, Class<?> targetClass);
|
||||
Collection<ConfigAttribute> getAttributes(Method method, Class<?> targetClass);
|
||||
}
|
||||
|
||||
@@ -38,5 +38,5 @@ public @interface PostAuthorize {
|
||||
* @return the Spring-EL expression to be evaluated after invoking the protected
|
||||
* method
|
||||
*/
|
||||
public String value();
|
||||
String value();
|
||||
}
|
||||
|
||||
@@ -38,5 +38,5 @@ public @interface PostFilter {
|
||||
* @return the Spring-EL expression to be evaluated after invoking the protected
|
||||
* method
|
||||
*/
|
||||
public String value();
|
||||
String value();
|
||||
}
|
||||
|
||||
@@ -50,12 +50,12 @@ public @interface PreFilter {
|
||||
* @return the Spring-EL expression to be evaluated before invoking the protected
|
||||
* method
|
||||
*/
|
||||
public String value();
|
||||
String value();
|
||||
|
||||
/**
|
||||
* @return the name of the parameter which should be filtered (must be a non-null
|
||||
* collection instance) If the method contains a single collection argument, then this
|
||||
* attribute can be omitted.
|
||||
*/
|
||||
public String filterTarget() default "";
|
||||
String filterTarget() default "";
|
||||
}
|
||||
|
||||
@@ -92,9 +92,9 @@ class ComparableVersion implements Comparable<ComparableVersion> {
|
||||
private ListItem items;
|
||||
|
||||
private interface Item {
|
||||
final int INTEGER_ITEM = 0;
|
||||
final int STRING_ITEM = 1;
|
||||
final int LIST_ITEM = 2;
|
||||
int INTEGER_ITEM = 0;
|
||||
int STRING_ITEM = 1;
|
||||
int LIST_ITEM = 2;
|
||||
|
||||
int compareTo(Item item);
|
||||
|
||||
|
||||
@@ -37,6 +37,6 @@ public interface Attributes2GrantedAuthoritiesMapper {
|
||||
* @param attributes the attributes to be mapped
|
||||
* @return the collection of authorities created from the attributes
|
||||
*/
|
||||
public Collection<? extends GrantedAuthority> getGrantedAuthorities(
|
||||
Collection<? extends GrantedAuthority> getGrantedAuthorities(
|
||||
Collection<String> attributes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user