Updated Branches:
  refs/heads/master 461c1e618 -> 139785375

WICKET-5384 Allow form components to trim the input themselves


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

Branch: refs/heads/master
Commit: 1397853757a0eeaa1487862abff0f46b7e4a288b
Parents: 461c1e6
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Fri Oct 4 16:15:39 2013 +0200
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Fri Oct 4 16:15:39 2013 +0200

----------------------------------------------------------------------
 .../java/org/apache/wicket/markup/html/form/FormComponent.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/13978537/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
index 30474fa..1a1a6d4 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
@@ -1463,7 +1463,7 @@ public abstract class FormComponent<T> extends 
LabeledWebMarkupContainer
         * @param string
         * @return trimmed input if {@link #shouldTrimInput()} returns true, 
unchanged input otherwise
         */
-       protected final String trim(String string)
+       protected String trim(String string)
        {
                String trimmed = string;
                if (trimmed != null && shouldTrimInput())

Reply via email to