Commits

Steve Lancashire committed 3d4ad6d

Code cleanup made by build script

  • Participants
  • Parent commits 705e6ff
  • Branches CONF-27294, xwork_1-0-3 1
    1. xwork_1-0-3_branch
  • Tags xwork_1-0-3-3

Comments (0)

Files changed (2)

File src/java/com/opensymphony/xwork/interceptor/ConversionErrorInterceptor.java

  *
  */
 public class ConversionErrorInterceptor implements Interceptor {
-  
+    //~ Methods ////////////////////////////////////////////////////////////////
+
     public void destroy() {
     }
 
                 return null;
             }
         } else {
-            return o != null ? o.toString() : "";
+            return (o != null) ? o.toString() : "";
         }
     }
 }

File src/test/com/opensymphony/xwork/interceptor/ConversionErrorInterceptorTest.java

 
         SimpleAction action = new SimpleAction();
         mockInvocation.expectAndReturn("getAction", action);
-        mockInvocation.expectAndReturn("getAction", action); 
+        mockInvocation.expectAndReturn("getAction", action);
         stack.push(action);
         assertNull(action.getFieldErrors().get("foo"));
         interceptor.intercept(invocation);