You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Afkham Azeez (JIRA)" <ji...@apache.org> on 2010/12/22 14:23:01 UTC

[jira] Resolved: (AXIS2-4741) Dead Code in ADBXMLStreamReaderImpl.java

     [ https://issues.apache.org/jira/browse/AXIS2-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Afkham Azeez resolved AXIS2-4741.
---------------------------------

    Resolution: Fixed

> 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: Minor
>
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org