You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Nacho G. Mac Dowell" <ig...@informa.es> on 2004/09/16 14:20:59 UTC

Strange check in AbstractContext

org.apache.ws.jaxme.generator.sg.impl.AbstractContext.setXMLInterfaceName(JavaQName 
pXmlInterfaceName)
performs a strange check:

       if (pXmlInterfaceName.toString().endsWith("Adress.AddressType")  ||
                
pXmlInterfaceName.toString().endsWith("Address$AddressType")) {
            throw new IllegalStateException();   
        }

I suppose this was for testing purposes

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


RE: Strange check in AbstractContext

Posted by Ias <ia...@hotmail.com>.
> Nacho G. Mac Dowell wrote:
> > 
> org.apache.ws.jaxme.generator.sg.impl.AbstractContext.setXMLInterfaceN
> > ame(JavaQName
> > pXmlInterfaceName)
> > performs a strange check:
> 
> Good heavens. :-) Fixed!
> 

Thanks. I've also thought it strange :-)

Ias

> 
> --
> http://lilypie.com/baby1/050423/1/5/1/+1
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: jaxme-dev-help@ws.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org


Re: Strange check in AbstractContext

Posted by Jochen Wiedmann <jo...@freenet.de>.
Nacho G. Mac Dowell wrote:
> org.apache.ws.jaxme.generator.sg.impl.AbstractContext.setXMLInterfaceName(JavaQName 
> pXmlInterfaceName)
> performs a strange check:

Good heavens. :-) Fixed!


-- 
http://lilypie.com/baby1/050423/1/5/1/+1

---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org