Author: mrisaliti
Date: Sun Mar 13 12:49:04 2011
New Revision: 1081103
URL:
http://svn.apache.org/viewvc?rev=1081103&view=revLog:
Remove some warning in testtools component (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/SeleniumXml.java
ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/TestCaseException.java
Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/SeleniumXml.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/SeleniumXml.java?rev=1081103&r1=1081102&r2=1081103&view=diff==============================================================================
--- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/SeleniumXml.java (original)
+++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/SeleniumXml.java Sun Mar 13 12:49:04 2011
@@ -356,7 +356,7 @@ public class SeleniumXml {
Method m;
try {
- m = (Method) this.sel.getClass().getDeclaredMethod(methodName, paramTypes);
+ m = this.sel.getClass().getDeclaredMethod(methodName, paramTypes);
Object results = m.invoke(this.sel, args);
//Add output parameter to common map
Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/TestCaseException.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/TestCaseException.java?rev=1081103&r1=1081102&r2=1081103&view=diff==============================================================================
--- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/TestCaseException.java (original)
+++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/seleniumxml/TestCaseException.java Sun Mar 13 12:49:04 2011
@@ -24,6 +24,7 @@ import org.ofbiz.base.util.GeneralExcept
* GenericConfigException
*
*/
+@SuppressWarnings("serial")
public class TestCaseException extends GeneralException {
public TestCaseException() {