formatting

(cherry picked from commit 820c52dd2689add4e59f3459c01a52bdd391e712)


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

Branch: refs/heads/support-2-3
Commit: d82289a1be3644e5da7fc9ce38f29daa11a42677
Parents: 6ac2a58
Author: Aleksandr Mashchenko <amashche...@apache.org>
Authored: Fri Mar 4 20:39:58 2016 +0200
Committer: Aleksandr Mashchenko <amashche...@apache.org>
Committed: Fri Mar 4 20:46:47 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/d82289a1/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 c3788dc..00ef282 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 

Reply via email to