svn commit: r966783 - /ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r966783 - /ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java

doogie-3
Author: doogie
Date: Thu Jul 22 18:23:01 2010
New Revision: 966783

URL: http://svn.apache.org/viewvc?rev=966783&view=rev
Log:
Fix typo in merge.

Modified:
    ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java

Modified: ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java?rev=966783&r1=966782&r2=966783&view=diff
==============================================================================
--- ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java (original)
+++ ofbiz/branches/release4.0/framework/webtools/src/org/ofbiz/webtools/WebToolsServices.java Thu Jul 22 18:23:01 2010
@@ -108,7 +108,7 @@ public class WebToolsServices {
         // #############################
         // The filename to parse is prepared
         // #############################
-        if (fmfilename != null && fmfilename.lenth() > 0 && filename != null && filename.length() > 0) {
+        if (fmfilename != null && fmfilename.length() > 0 && filename != null && filename.length() > 0) {
             try {
                 url = isUrl?new URL(filename):UtilURL.fromFilename(filename);
                 InputStream is = url.openStream();
@@ -125,7 +125,7 @@ public class WebToolsServices {
         // #############################
         // The text to parse is prepared
         // #############################
-        if (fmfilename != null && fmfilename.lenth() > 0 && fulltext != null && fulltext.length() > 0) {
+        if (fmfilename != null && fmfilename.length() > 0 && fulltext != null && fulltext.length() > 0) {
             StringReader sr = new StringReader(fulltext);
             ins = new InputSource(sr);
         }