You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2014/03/09 21:23:16 UTC

git commit: Moves snippets to wiki

Repository: struts
Updated Branches:
  refs/heads/feature/WW-4198-update-form-close e66a30629 -> e58549065


Moves snippets to wiki


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/e5854906
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/e5854906
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/e5854906

Branch: refs/heads/feature/WW-4198-update-form-close
Commit: e585490656225f88dc28300b722ec38dcffbb6ba
Parents: e66a306
Author: Lukasz Lenart <lu...@apache.org>
Authored: Sun Mar 9 21:22:28 2014 +0100
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Sun Mar 9 21:22:28 2014 +0100

----------------------------------------------------------------------
 .../validator/annotations/UrlValidator.java     |  2 --
 .../validator/validators/URLValidator.java      | 24 --------------------
 2 files changed, 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/e5854906/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/UrlValidator.java
----------------------------------------------------------------------
diff --git a/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/UrlValidator.java b/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/UrlValidator.java
index a06db12..9ad9223 100644
--- a/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/UrlValidator.java
+++ b/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/UrlValidator.java
@@ -13,7 +13,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package com.opensymphony.xwork2.validator.annotations;
 
 import java.lang.annotation.ElementType;
@@ -27,7 +26,6 @@ import java.lang.annotation.Target;
  * <pre>
  * &#64;UrlValidator(message = "Default message", key = "i18n.key", shortCircuit = true)
  * </pre>
- *
  */
 @Target({ElementType.METHOD})
 @Retention(RetentionPolicy.RUNTIME)

http://git-wip-us.apache.org/repos/asf/struts/blob/e5854906/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java
----------------------------------------------------------------------
diff --git a/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java b/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java
index 4f63961..767416d 100644
--- a/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java
+++ b/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/URLValidator.java
@@ -20,28 +20,9 @@ import com.opensymphony.xwork2.util.URLUtil;
 import org.apache.commons.lang3.StringUtils;
 
 /**
- * <!-- START SNIPPET: javadoc -->
- * 
  * URLValidator checks that a given field is a String and a valid URL
- * 
- * <!-- END SNIPPET: javadoc -->
- * 
- * <p/>
- * 
- * <!-- START SNIPPET: parameters -->
- * 
- * <ul>
- * 		<li>fieldName - The field name this validator is validating. Required if using Plain-Validator Syntax otherwise not required</li>
- * 		<li>urlRegexExpression - The regex defined as expression used to validate url. If not defined 'urlRegex' will be used instead</li>
- * 		<li>urlRegex - The regex used to validate url. If not defined default regex will be used</li>
- * </ul>
- * 
- * <!-- END SNIPPET: parameters -->
- *
- * <p/>
  *
  * <pre>
- * <!-- START SNIPPET: examples -->
  * &lt;validators&gt;
  *      &lt;!-- Plain Validator Syntax --&gt;
  *      &lt;validator type="url"&gt;
@@ -56,12 +37,7 @@ import org.apache.commons.lang3.StringUtils;
  *          &lt;/field-validator&gt;
  *      &lt;/field&gt;
  * &lt;/validators&gt;
- * <!-- END SNIPPET: examples -->
  * </pre>
- *
- *
- * @author $Author$
- * @version $Date$ $Revision$
  */
 public class URLValidator extends FieldValidatorSupport {