You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2012/11/03 00:30:48 UTC
[4/5] git commit: Remove outdated call
Remove outdated call
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/42532b86
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/42532b86
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/42532b86
Branch: refs/heads/5.4-js-rewrite
Commit: 42532b8604286755a945586e8d06a4bcc48fcadb
Parents: fd7a519
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Fri Nov 2 16:17:24 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Fri Nov 2 16:17:24 2012 -0700
----------------------------------------------------------------------
.../org/apache/tapestry5/validator/Regexp.java | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/42532b86/tapestry-core/src/main/java/org/apache/tapestry5/validator/Regexp.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/validator/Regexp.java b/tapestry-core/src/main/java/org/apache/tapestry5/validator/Regexp.java
index 1e99163..92f781a 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/validator/Regexp.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/validator/Regexp.java
@@ -50,9 +50,6 @@ public class Regexp extends AbstractValidator<Pattern, String>
"data-validate-regexp", constraintValue.pattern(),
"data-regexp-message", buildMessage(formatter, field, constraintValue));
}
-
- formSupport.addValidation(field, "regexp", buildMessage(formatter, field, constraintValue),
- constraintValue.pattern());
}
public void validate(Field field, Pattern constraintValue, MessageFormatter formatter, String value)