Author: scheu
Date: Wed Aug 6 12:53:12 2008
New Revision: 683386
URL: http://svn.apache.org/viewvc?rev=683386&view=rev
Log:
Quick Fix
Removed bad debug trace from the StAXOMBuilder. Querying the getName() method
on the parser can cause an exception if
the current state of the parser is not a start/end element.
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java
URL:
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java?rev=683386&r1=683385&r2=683386&view=diff
==============================================================================
---
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java
(original)
+++
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXOMBuilder.java
Wed Aug 6 12:53:12 2008
@@ -568,10 +568,6 @@
*/
private int parserNext() throws XMLStreamException {
if (lookAheadToken >= 0) {
- if (log.isDebugEnabled()) {
- log.debug("Using lookahead start token");
- log.debug(" QName is " + parser.getName());
- }
int token = lookAheadToken;
lookAheadToken = -1; // Reset
return token;