Author: jacopoc
Date: Wed Apr  3 08:56:31 2013
New Revision: 1463885

URL: http://svn.apache.org/r1463885
Log:
Small improvements to error log messages.

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java

Modified: 
ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java?rev=1463885&r1=1463884&r2=1463885&view=diff
==============================================================================
--- 
ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java 
(original)
+++ 
ofbiz/trunk/framework/base/src/org/ofbiz/base/component/ComponentConfig.java 
Wed Apr  3 08:56:31 2013
@@ -368,10 +368,10 @@ public class ComponentConfig {
 
         File rootLocationDir = new File(rootLocation);
         if (!rootLocationDir.exists()) {
-            throw new ComponentException("The given component root location is 
does not exist: " + rootLocation);
+            throw new ComponentException("The component root location does not 
exist: " + rootLocation);
         }
         if (!rootLocationDir.isDirectory()) {
-            throw new ComponentException("The given component root location is 
not a directory: " + rootLocation);
+            throw new ComponentException("The component root location is not a 
directory: " + rootLocation);
         }
 
         String xmlFilename = rootLocation + "/" + OFBIZ_COMPONENT_XML_FILENAME;


Reply via email to