db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Engelbert <c.engelb...@u-form.de>
Subject Re: svn commit: r1024374 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/SourceElement.java
Date Thu, 21 Oct 2010 06:31:51 GMT
Hi Thomas,

would a "return null" not work in this case? So you can prevent a lookup
on the null reference or do you think that null could be a possible key?

Am Dienstag, den 19.10.2010, 19:41 +0000 schrieb tfischer@apache.org:

> Author: tfischer
> Date: Tue Oct 19 19:41:18 2010
> New Revision: 1024374
> 
> URL: http://svn.apache.org/viewvc?rev=1024374&view=rev
> Log:
> fix bug in getTextAttribute()
> 
> Modified:
>     db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/SourceElement.java
> 
> Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/SourceElement.java
> URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/SourceElement.java?rev=1024374&r1=1024373&r2=1024374&view=diff
> ==============================================================================
> --- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/SourceElement.java
(original)
> +++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/SourceElement.java
Tue Oct 19 19:41:18 2010
> @@ -320,7 +320,7 @@ public class SourceElement
>       */
>      public Object getTextAttribute()
>      {
> -        return attributes.get(name);
> +        return attributes.get(null);
>      }
>  
>      /**
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-dev-help@db.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message