X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=security%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fsecurity%2Fauthorization%2FStartsWithPathCondition.java;h=a6c68b4e725a7f5d66ce720eb9e3b6399b770931;hb=17775e14ecfb286e59f67117e5cee7e21e95ab1f;hp=59f8627c01e5ec06a3d7dbe36b5d9b7610c23f39;hpb=532f7219273021ef3652e0abe1326b7aeed1f30a;p=utils diff --git a/security/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java b/security/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java index 59f8627c..a6c68b4e 100644 --- a/security/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java +++ b/security/src/main/java/org/wamblee/security/authorization/StartsWithPathCondition.java @@ -1,5 +1,5 @@ /* - * Copyright 2005 the original author or authors. + * Copyright 2005-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,34 +13,35 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.wamblee.security.authorization; - /** - * Condition to check whether a path starts with a given string. - * + * Condition to check whether a path starts with a given string. + * * @author Erik Brakkee */ public class StartsWithPathCondition extends RegexpPathCondition { - /** - * Constructs the condition. - * @param aPath String the path must start with. + * Constructs the condition. + * + * @param aPath + * String the path must start with. */ - public StartsWithPathCondition(String aPath) { - super( aPath + ".*"); + public StartsWithPathCondition(String aPath) { + super(aPath + ".*"); } - + /** - * For OR mapping. - * + * For OR mapping. + * */ - protected StartsWithPathCondition() { - super(); + protected StartsWithPathCondition() { + super(); } - - /* (non-Javadoc) + + /* + * (non-Javadoc) + * * @see java.lang.Object#toString() */ @Override