ozeigermann 2004/02/13 04:21:14
Modified:
testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
TProcessors.java
Log:
Minor fix, catching exception
Revision Changes Path
1.80 +5 -5
jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java
Index: TProcessors.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- TProcessors.java 13 Feb 2004 11:47:43 -0000 1.79
+++ TProcessors.java 13 Feb 2004 12:21:14 -0000 1.80
@@ -1389,7 +1389,7 @@
Element e = rootElement;
if (key.equals("href")) {
e = (Element)e.clone();
- e.setText(URIUtil.decode(e.getText(), defaultUrlEncoding));
+ try {e.setText(URIUtil.decode(e.getText(), defaultUrlEncoding));}
catch (Exception ex) { }
}
result.add(e);
return result;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]