Commits

Anonymous committed fe4434e

Fixing LocalizedTextUtil and one bit of Javadoc

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

  • Participants
  • Parent commits a053dfb

Comments (0)

Files changed (2)

File src/java/com/opensymphony/xwork/ActionInvocation.java

     ActionProxy getProxy();
 
     /**
-    * If the DefaultActionInvocation has been executed before and the Result is an instance of ActionChainResult, this method
+    * If the ActionInvocation has been executed before and the Result is an instance of ActionChainResult, this method
     * will walk down the chain of ActionChainResults until it finds a non-chain result, which will be returned. If the
-    * DefaultActionInvocation's result has not been executed before, the Result instance will be created and populated with
+    * ActionInvocation's result has not been executed before, the Result instance will be created and populated with
     * the result params.
     * @return a Result instance
     */

File src/test/com/opensymphony/xwork/util/LocalizedTextUtilTest.java

         LocalizedTextUtil.addDefaultResourceBundle("com/opensymphony/xwork/util/LocalizedTextUtilTest");
         Object[] params = new Object[] {new Date()};
         String usDate = LocalizedTextUtil.findDefaultText("test.format.date",Locale.US,params);
-        String frenchDate = LocalizedTextUtil.findDefaultText("test.format.date",Locale.FRANCE,params);
-        assertFalse(usDate.equals(frenchDate));
+        String germanDate = LocalizedTextUtil.findDefaultText("test.format.date",Locale.GERMANY,params);
+        assertFalse(usDate.equals(germanDate));
     }
 
     protected void setUp() throws Exception {