svn commit: r1078295 - /ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/VerifySeleniumSetups.java

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

svn commit: r1078295 - /ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/VerifySeleniumSetups.java

mrisaliti
Author: mrisaliti
Date: Sat Mar  5 14:37:06 2011
New Revision: 1078295

URL: http://svn.apache.org/viewvc?rev=1078295&view=rev
Log:
Remove a warning about a possible NPE in VerifySeleniumSetups (OFBIZ-4102)

Modified:
    ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/VerifySeleniumSetups.java

Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/VerifySeleniumSetups.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/VerifySeleniumSetups.java?rev=1078295&r1=1078294&r2=1078295&view=diff
==============================================================================
--- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/VerifySeleniumSetups.java (original)
+++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/VerifySeleniumSetups.java Sat Mar  5 14:37:06 2011
@@ -94,7 +94,7 @@ public class VerifySeleniumSetups {
             if (urlProps == null) {
                 urlProps = new Properties();
                 if (urlProp == null) {
-                    String errMsg = "variable with name " + urlProp.toString() + " is not set, cannot resolve location.";
+                    String errMsg = "Cannot resolve location from url.properties.";
                     throw new MalformedURLException(errMsg);
                 }
                 urlProps = UtilProperties.getProperties(urlProp);