Minor improvements to toString() methods for logging.
This commit is contained in:
parent
a845a69cb7
commit
599d9fea04
|
@ -121,7 +121,7 @@ public class OrderedFilterBeanDefinitionDecorator implements BeanDefinitionDecor
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
return getClass() + "[ delegate=" + delegate + "; order=" + getOrder() + "]";
|
||||
return "OrderedFilterDecorator[ delegate=" + delegate + "; order=" + getOrder() + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,6 +56,6 @@ public abstract class SpringSecurityFilter implements Filter, Ordered {
|
|||
protected abstract void doFilterHttp(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException;
|
||||
|
||||
public String toString() {
|
||||
return getClass() + "[ order=" + getOrder() + "; ]";
|
||||
return getClass().getName() + "[ order=" + getOrder() + "; ]";
|
||||
}
|
||||
}
|
|
@ -12,8 +12,6 @@ import org.apache.commons.logging.LogFactory;
|
|||
* @version $Id$
|
||||
*/
|
||||
public class AntUrlPathMatcher implements UrlMatcher {
|
||||
private static final Log logger = LogFactory.getLog(AntUrlPathMatcher.class);
|
||||
|
||||
private boolean requiresLowerCaseUrl = true;
|
||||
private PathMatcher pathMatcher = new AntPathMatcher();
|
||||
|
||||
|
@ -48,4 +46,8 @@ public class AntUrlPathMatcher implements UrlMatcher {
|
|||
public boolean requiresLowerCaseUrl() {
|
||||
return requiresLowerCaseUrl;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return getClass().getName() + "[requiresLowerCase='" + requiresLowerCaseUrl + "']";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue