Updated Branches:
  refs/heads/wicket-6.x 3150ba7fc -> fad9fb01f

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/fad9fb01
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/fad9fb01
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/fad9fb01

Branch: refs/heads/wicket-6.x
Commit: fad9fb01f509937e427837665f7202e3736dc3ea
Parents: 3150ba7
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:16:32 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/fad9fb01/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 e31944a..450b6bd 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