Index: java/src/org/apache/xerces/impl/dtd/models/CMAny.java =================================================================== RCS file: /home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/dtd/models/CMAny.java,v retrieving revision 1.5 diff -u -r1.5 CMAny.java --- java/src/org/apache/xerces/impl/dtd/models/CMAny.java 4 Oct 2004 22:00:42 -0000 1.5 +++ java/src/org/apache/xerces/impl/dtd/models/CMAny.java 22 Feb 2005 05:10:26 -0000 @@ -114,7 +114,7 @@ strRet.append ( " (Pos:" - + new Integer(fPosition).toString() + + Integer.toString(fPosition) + ")" ); } Index: java/src/org/apache/xerces/impl/dtd/models/CMLeaf.java =================================================================== RCS file: /home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/dtd/models/CMLeaf.java,v retrieving revision 1.4 diff -u -r1.4 CMLeaf.java --- java/src/org/apache/xerces/impl/dtd/models/CMLeaf.java 4 Oct 2004 22:00:42 -0000 1.4 +++ java/src/org/apache/xerces/impl/dtd/models/CMLeaf.java 22 Feb 2005 05:10:53 -0000 @@ -108,7 +108,7 @@ strRet.append ( " (Pos:" - + new Integer(fPosition).toString() + + Integer.toString(fPosition) + ")" ); } Index: java/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java =================================================================== RCS file: /home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java,v retrieving revision 1.32 diff -u -r1.32 AbstractDateTimeDV.java --- java/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java 11 Feb 2005 21:49:28 -0000 1.32 +++ java/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java 22 Feb 2005 05:14:08 -0000 @@ -508,10 +508,10 @@ int i = start; do { digit = getDigit(buffer.charAt(i)); - if ( digit < 0 ) throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); - if ( result < multmin ) throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); + if ( digit < 0 ) throw new NumberFormatException("'"+buffer+"' has wrong format"); + if ( result < multmin ) throw new NumberFormatException("'"+buffer+"' has wrong format"); result *= radix; - if ( result < limit + digit ) throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); + if ( result < limit + digit ) throw new NumberFormatException("'"+buffer+"' has wrong format"); result -= digit; }while ( ++i < end ); @@ -541,17 +541,17 @@ while (i < end) { digit = getDigit(buffer.charAt(i++)); - if (digit < 0) throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); - if (result < multmin) throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); + if (digit < 0) throw new NumberFormatException("'"+buffer+"' has wrong format"); + if (result < multmin) throw new NumberFormatException("'"+buffer+"' has wrong format"); result *= radix; - if (result < limit + digit) throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); + if (result < limit + digit) throw new NumberFormatException("'"+buffer+"' has wrong format"); result -= digit; } if (negative) { if (i > 1) return result; - else throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); + else throw new NumberFormatException("'"+buffer+"' has wrong format"); } return -result; @@ -768,14 +768,14 @@ if (ch == '.') dot = i; else if (ch > '9' || ch < '0') - throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); + throw new NumberFormatException("'"+buffer+"' has wrong format"); } if (dot == -1) { if (start+2 != end) - throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); + throw new NumberFormatException("'"+buffer+"' has wrong format"); } else if (start+2 != dot || dot+1 == end) { - throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); + throw new NumberFormatException("'"+buffer+"' has wrong format"); } return Double.parseDouble(buffer.substring(start, end)); } Index: java/src/org/apache/xerces/impl/dv/xs/DurationDV.java =================================================================== RCS file: /home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/dv/xs/DurationDV.java,v retrieving revision 1.16 diff -u -r1.16 DurationDV.java --- java/src/org/apache/xerces/impl/dv/xs/DurationDV.java 17 Dec 2004 20:21:24 -0000 1.16 +++ java/src/org/apache/xerces/impl/dv/xs/DurationDV.java 22 Feb 2005 05:14:42 -0000 @@ -327,10 +327,10 @@ if (ch == '.') dot = i; else if (ch > '9' || ch < '0') - throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); + throw new NumberFormatException("'"+buffer+"' has wrong format"); } if (dot+1 == end) { - throw new NumberFormatException("'"+buffer.toString()+"' has wrong format"); + throw new NumberFormatException("'"+buffer+"' has wrong format"); } return Double.parseDouble(buffer.substring(start, end)); } Index: java/src/org/apache/xerces/impl/xs/models/XSCMLeaf.java =================================================================== RCS file: /home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/xs/models/XSCMLeaf.java,v retrieving revision 1.7 diff -u -r1.7 XSCMLeaf.java --- java/src/org/apache/xerces/impl/xs/models/XSCMLeaf.java 6 Oct 2004 15:14:53 -0000 1.7 +++ java/src/org/apache/xerces/impl/xs/models/XSCMLeaf.java 22 Feb 2005 05:12:23 -0000 @@ -100,7 +100,7 @@ strRet.append ( " (Pos:" - + new Integer(fPosition).toString() + + Integer.toString(fPosition) + ")" ); } Index: java/src/org/apache/xerces/parsers/AbstractDOMParser.java =================================================================== RCS file: /home/cvspublic/xml-xerces/java/src/org/apache/xerces/parsers/AbstractDOMParser.java,v retrieving revision 1.112 diff -u -r1.112 AbstractDOMParser.java --- java/src/org/apache/xerces/parsers/AbstractDOMParser.java 7 May 2004 21:40:59 -0000 1.112 +++ java/src/org/apache/xerces/parsers/AbstractDOMParser.java 22 Feb 2005 05:15:16 -0000 @@ -650,7 +650,7 @@ if (fInDTD) { if (fInternalSubset != null && !fInDTDExternalSubset) { fInternalSubset.append ("");