Author: jleroux
Date: Tue Aug 10 11:55:44 2010
New Revision: 983946
URL:
http://svn.apache.org/viewvc?rev=983946&view=revLog:
Fixes 2 typos in Javadoc found by chance
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java?rev=983946&r1=983945&r2=983946&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilFormatOut.java Tue Aug 10 11:55:44 2010
@@ -462,11 +462,11 @@ public class UtilFormatOut {
return retString;
}
- /** Replaces all occurances of oldString in mainString with newString
+ /** Replaces all occurrences of oldString in mainString with newString
* @param mainString The original string
* @param oldString The string to replace
* @param newString The string to insert in place of the old
- * @return mainString with all occurances of oldString replaced by newString
+ * @return mainString with all occurrences of oldString replaced by newString
*/
public static String replaceString(String mainString, String oldString, String newString) {
return StringUtil.replaceString(mainString, oldString, newString);