You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2013/08/09 04:35:39 UTC

svn commit: r1512129 - in /ofbiz/trunk: framework/base/src/org/ofbiz/base/util/UtilHttp.java specialpurpose/appserver/src/org/ofbiz/appservers/GenerateContainer.java

Author: hansbak
Date: Fri Aug  9 02:35:39 2013
New Revision: 1512129

URL: http://svn.apache.org/r1512129
Log:
corrections of errors introduced with r1511742

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java
    ofbiz/trunk/specialpurpose/appserver/src/org/ofbiz/appservers/GenerateContainer.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java?rev=1512129&r1=1512128&r2=1512129&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java Fri Aug  9 02:35:39 2013
@@ -920,7 +920,7 @@ public class UtilHttp {
 
     public static String getContentTypeByFileName(String fileName) {
         FileNameMap mime = URLConnection.getFileNameMap();
-        return mime.getContentTypefor (fileName);
+        return mime.getContentTypeFor(fileName);
     }
 
     /**

Modified: ofbiz/trunk/specialpurpose/appserver/src/org/ofbiz/appservers/GenerateContainer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/appserver/src/org/ofbiz/appservers/GenerateContainer.java?rev=1512129&r1=1512128&r2=1512129&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/appserver/src/org/ofbiz/appservers/GenerateContainer.java (original)
+++ ofbiz/trunk/specialpurpose/appserver/src/org/ofbiz/appservers/GenerateContainer.java Fri Aug  9 02:35:39 2013
@@ -291,7 +291,7 @@ public class GenerateContainer implement
                         }
                     }
                     is.close();
-                        process.waitfor ();
+                        process.waitFor();
     //                    System.out.println(process.waitfor ());
     //                    System.out.println("exit value" + process.exitValue());
                     Debug.logInfo(ofbizName + " undeployment ended" , module);
@@ -352,7 +352,7 @@ public class GenerateContainer implement
                         }
                     }
                     is.close();
-                    process.waitfor ();
+                    process.waitFor();
 //                    System.out.println(process.waitfor ());
 //                    System.out.println("exit value" + process.exitValue());
                     Debug.logInfo(ofbizName + " deployment ended" , module);