Dead Code in  ADBXMLStreamReaderImpl.java
-----------------------------------------

                 Key: AXIS2-4741
                 URL: https://issues.apache.org/jira/browse/AXIS2-4741
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.5
         Environment: Windows XP, axis2-1.5.jar, Tomcat.
            Reporter: Shiva Kumar Yemula
            Priority: Blocker


In public ADBXMLStreamReaderImpl(QName adbBeansQName,
                                  Object[] properties,
                                  Object[] attributes,
                                  TypeTable typeTable,
                                  boolean qualified) {}  at the line 131 has 
String prefix =qname.getPrefix();
                        if(prefix ==null && "".equals(prefix)){
                            prefix = OMSerializerUtil.getNextNSPrefix();
                        }

OMSerializerUtil.getNextNSPrefix(); will never be executed. Please change the 
&& to || or change the entire 'if' condition. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to