Thanks for the spot - fixed in CVS.

Diffs are better :-)

Sean

On Fri, Feb 16, 2001 at 07:06:04PM +0900, Youngho Cho wrote:
> 
> Line 304 - 323
>     /**
>      * Compares the primary key of this instance with the key of another.
>      *
>      * @param bo The object to compare to.
>      * @return   Whether the primary keys are equal.
>      */
>     public boolean equals(BaseObject bo)
>    {
>         if (this == bo)
>         {
>             return true;
>         }
>         else
>         {
> +            if( this.getPrimaryKey() == null || bo.getPrimaryKey() == null )
> +                return false;
> +            else
>                 return getPrimaryKey().equals(bo.getPrimaryKey());
>         }
>     }
> 
> Thanks,
> 
> youngho
> 
>ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿN�.nÇ+�·ÿ¶êÛ�wÿ¢å�ËÿÂ�ä�xÿv�,ýÊ&N�§²æìr¸�{ûn­¸§{úùb²ßð¢¹"�Ý¢ÿr��yªÜ�ÿá¶Úÿÿü0Ãù��_Ú­Èb½ïÜ¢oíº¶â�ïøÒX¬·ü(®H§�÷h�ÏÜ¢oÿ>º�é¬ÿøè�ü(®H§�÷h�ÏÜ

-- 
Sean Legassick
[EMAIL PROTECTED]
      Jag är en man, ingenting mänskligt är främmande för mig  
      
      


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to