cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo <agalla...@agssa.net>
Subject Re: svn commit: r360290 - in /cocoon/trunk/src/java/org/apache/cocoon: components/modules/output/SessionAttributeOutputModule.java xml/dom/DOMStreamer.java
Date Sat, 31 Dec 2005 16:24:00 GMT
Carsten Ziegeler wrote:

>antonio@apache.org schrieb:
>  
>
>>Author: antonio
>>Date: Sat Dec 31 07:22:11 2005
>>New Revision: 360290
>>
>>URL: http://svn.apache.org/viewcvs?rev=360290&view=rev
>>Log:
>>Compares Strings using equals()
>>
>>Modified:
>>    cocoon/trunk/src/java/org/apache/cocoon/components/modules/output/SessionAttributeOutputModule.java
>>    cocoon/trunk/src/java/org/apache/cocoon/xml/dom/DOMStreamer.java
>>
>>    
>>
>
>  
>
>>-                String declname = (prefix == "") ? "xmlns" : "xmlns:" + prefix;
>>+                String declname = (prefix.equals("")) ? "xmlns" : "xmlns:" + prefix;
>>    
>>
>I think testing string length against zero is a better way.
>  
>
OK. :-)

Best Regards,

Antonio Gallardo


Mime
View raw message