You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by am...@apache.org on 2016/03/04 19:44:36 UTC

[2/3] struts git commit: formatting

formatting


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

Branch: refs/heads/master
Commit: 820c52dd2689add4e59f3459c01a52bdd391e712
Parents: 7a0ae0e
Author: Aleksandr Mashchenko <am...@apache.org>
Authored: Fri Mar 4 20:39:58 2016 +0200
Committer: Aleksandr Mashchenko <am...@apache.org>
Committed: Fri Mar 4 20:39:58 2016 +0200

----------------------------------------------------------------------
 core/src/main/resources/template/simple/checkboxlist.ftl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/820c52dd/core/src/main/resources/template/simple/checkboxlist.ftl
----------------------------------------------------------------------
diff --git a/core/src/main/resources/template/simple/checkboxlist.ftl b/core/src/main/resources/template/simple/checkboxlist.ftl
index aac9ca1..c90e024 100644
--- a/core/src/main/resources/template/simple/checkboxlist.ftl
+++ b/core/src/main/resources/template/simple/checkboxlist.ftl
@@ -27,9 +27,9 @@
     <#if parameters.listKey??>
         <#assign itemKey = stack.findValue(parameters.listKey)/>
         <#assign itemKeyStr = stack.findString(parameters.listKey)/>
-        <#else>
-            <#assign itemKey = stack.findValue('top')/>
-            <#assign itemKeyStr = stack.findString('top')>
+    <#else>
+        <#assign itemKey = stack.findValue('top')/>
+        <#assign itemKeyStr = stack.findString('top')>
     </#if>
     <#if parameters.listLabelKey??>
     <#-- checks the valueStack for the 'valueKey.' The valueKey is then looked-up in the locale