Commits

Anonymous committed 22fb0c3

XW-125: Result NONE should not log a warning

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@116e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 295e1a2

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork/DefaultActionInvocation.java

 
         if (aResult != null) {
             aResult.execute(this);
-        } else {
+        } else if (!resultCode.equals(Action.NONE)){
             LOG.warn("No result defined for action " + getAction().getClass().getName() + " and result " + getResultCode());
         }
     }