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 jayachandra <ja...@gmail.com> on 2005/03/22 14:27:00 UTC

[Axis2]OMElementImpl notes

In findDeclaredNamespace(string, string) method of OMElementImpl 
(Line #344) seems to have some improper condition in 'if' construct.
The condition given is a tautology.

Rather it should have been
	(prefix == null || "".equals(prefix)) { 

bye
Jayachandra

RE: [Axis2]OMElementImpl notes

Posted by Eran Chinthaka <ch...@opensource.lk>.
I didn't get the question correctly, jayachandra. 

Its like if (prefix == null || "".equals(prefix) now. Any problem ?

-- Chinthaka

> -----Original Message-----
> From: jayachandra [mailto:jayachandra@gmail.com]
> Sent: Tuesday, March 22, 2005 7:27 PM
> To: axis-dev@ws.apache.org
> Subject: [Axis2]OMElementImpl notes
> 
> In findDeclaredNamespace(string, string) method of OMElementImpl
> (Line #344) seems to have some improper condition in 'if' construct.
> The condition given is a tautology.
> 
> Rather it should have been
> 	(prefix == null || "".equals(prefix)) {
> 
> bye
> Jayachandra