axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-4741) Dead Code in ADBXMLStreamReaderImpl.java
Date Sat, 17 Jul 2010 08:31:49 GMT

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

Andreas Veithen updated AXIS2-4741:
-----------------------------------

    Priority: Minor  (was: Blocker)

> 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


Mime
View raw message