You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Shiva Kumar Yemula (JIRA)" <ji...@apache.org> on 2010/06/15 16:35:23 UTC

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

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


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

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ 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