You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by le...@locus.apache.org on 2000/03/31 04:32:35 UTC
cvs commit: xml-xerces/java/tests/dom/util Assertion.java
lehors 00/03/30 18:32:35
Modified: java/tests/dom/util Assertion.java
Log:
fixed getSourceLocation which the change of package name broke
Revision Changes Path
1.2 +2 -2 xml-xerces/java/tests/dom/util/Assertion.java
Index: Assertion.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/tests/dom/util/Assertion.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Assertion.java 2000/03/06 22:49:22 1.1
+++ Assertion.java 2000/03/31 02:32:34 1.2
@@ -1,4 +1,4 @@
-/* $Id: Assertion.java,v 1.1 2000/03/06 22:49:22 lehors Exp $ */
+/* $Id: Assertion.java,v 1.2 2000/03/31 02:32:34 lehors Exp $ */
/*
* The Apache Software License, Version 1.1
*
@@ -101,7 +101,7 @@
ex.printStackTrace(printer);
String buf = writer.toString();
// skip the first line as well as every line related to this class
- int index = buf.lastIndexOf("dom.DOMMemTest.Assertion.");
+ int index = buf.lastIndexOf("dom.util.Assertion.");
index = buf.indexOf('\n', index);
return buf.substring(index + 1);
}