commit | 332a67f5f77327f63bde7b6ad65ae899a837c16b | [log] [tgz] |
---|---|---|
author | Adrian Antal <aadrian@apache.org> | Thu Oct 31 20:52:47 2013 +0000 |
committer | Adrian Antal <aadrian@apache.org> | Thu Oct 31 20:52:47 2013 +0000 |
tree | c04cc725329f6e271b2ca4e278503d5f7724bc25 | |
parent | d033bb9cace49ef51d550ca1667d21d7155ab48a [diff] |
checkstyle fix git-svn-id: https://svn.apache.org/repos/asf/click/trunk/click@1537633 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/org/apache/click/control/TextField.java b/framework/src/org/apache/click/control/TextField.java index 53b3d8b..8ad3507 100644 --- a/framework/src/org/apache/click/control/TextField.java +++ b/framework/src/org/apache/click/control/TextField.java
@@ -210,13 +210,11 @@ /** * Set the input field HTML5 autocomplete status. - * - * @return true if input field HTML5 autocomplete enabled. */ public void setAutocomplete(boolean autocomplete) { if (autocomplete) { setAttribute("autocomplete", "on"); - } else{ + } else { setAttribute("autocomplete", "off"); } }