Skip to content

Commit 2d4b765

Browse files
committed
remove commented section
1 parent 70fc2ca commit 2d4b765

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/trax/StAXStream2SAX.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,6 @@ private void handlePI() throws XMLStreamException {
275275
}
276276

277277
private void handleCharacters() throws XMLStreamException {
278-
279-
// workaround for bugid 5046319 - switch over to commented section
280-
// below when it is fixed.
281278
int textLength = staxStreamReader.getTextLength();
282279
char[] chars = new char[textLength];
283280

@@ -290,19 +287,6 @@ private void handleCharacters() throws XMLStreamException {
290287
} catch (SAXException e) {
291288
throw new XMLStreamException(e);
292289
}
293-
294-
295-
// int start = 0;
296-
// int len;
297-
// do {
298-
// len = staxStreamReader.getTextCharacters(start, buf, 0, buf.length);
299-
// start += len;
300-
// try {
301-
// _sax.characters(buf, 0, len);
302-
// } catch (SAXException e) {
303-
// throw new XMLStreamException(e);
304-
// }
305-
// } while (len == buf.length);
306290
}
307291

308292
private void handleEndElement() throws XMLStreamException {

0 commit comments

Comments
 (0)