Commits

Steve Lancashire committed 3d4ad6d

Code cleanup made by build script

Comments (0)

Files changed (2)

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() : "";
         }
     }
 }

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);