diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/velocity/spring.vm b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/velocity/spring.vm
index 159b145117f..78c3d61b080 100644
--- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/velocity/spring.vm
+++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/velocity/spring.vm
@@ -82,7 +82,7 @@
* by user config.
*#
#macro( springBind $path )
- #if ("$!springHtmlEscape" != "")
+ #if("$!springHtmlEscape"!="")
#set( $status = $springMacroRequestContext.getBindStatus($path, $springHtmlEscape) )
#else
#set( $status = $springMacroRequestContext.getBindStatus($path) )
@@ -171,7 +171,7 @@
* from a list of options.
*
* The null check for $status.value leverages Velocity's 'quiet' notation rather
- * than the more common #if ($status.value) since this method evaluates to the
+ * than the more common #if($status.value) since this method evaluates to the
* boolean 'false' if the content of $status.value is the String "false" - not
* what we want.
*
@@ -185,7 +185,7 @@
@@ -208,7 +208,7 @@
#foreach($option in $options.keySet())
#end
@@ -231,7 +231,7 @@
#springBind($path)
#foreach($option in $options.keySet())
-
+
#end
#**
@@ -293,10 +293,10 @@
*#
#macro( springShowErrors $separator $classOrStyle )
#foreach($error in $status.errorMessages)
- #if ($classOrStyle == "")
+ #if($classOrStyle=="")
${error}
#else
- #if ($classOrStyle.indexOf(":") == -1)
+ #if($classOrStyle.indexOf(":")==-1)
#set($attr="class")
#else
#set($attr="style")
@@ -314,9 +314,4 @@
* depending on the value of a 'springXhtmlCompliant' variable in the
* template context.
*#
-#macro( springCloseTag )#if ($springXhtmlCompliant)/>#else>#end #end
-
-
-
-
-
+#macro( springCloseTag )#if($springXhtmlCompliant)/>#else>#end#end