diff --git a/core/src/main/java/org/springframework/security/intercept/ObjectDefinitionSource.java b/core/src/main/java/org/springframework/security/intercept/ObjectDefinitionSource.java index fd6d0d6bf5..f22bb4a366 100644 --- a/core/src/main/java/org/springframework/security/intercept/ObjectDefinitionSource.java +++ b/core/src/main/java/org/springframework/security/intercept/ObjectDefinitionSource.java @@ -22,8 +22,7 @@ import org.springframework.security.ConfigAttribute; /** - * Implemented by classes that store and can identify the {@link - * ConfigAttribute}s that applies to a given secure object + * Implemented by classes that store and can identify the {@link ConfigAttribute}s that applies to a given secure object * invocation. * * @author Ben Alex @@ -34,11 +33,12 @@ public interface ObjectDefinitionSource { /** * Accesses the ConfigAttributes that apply to a given secure object. - *

Returns null if no attributes apply. + *

+ * Returns null if no attributes apply. * * @param object the object being secured * - * @return the attributes that apply to the passed in secured object + * @return the attributes that apply to the passed in secured object or null if there are no applicable attributes. * * @throws IllegalArgumentException if the passed object is not of a type supported by the * ObjectDefinitionSource implementation