cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Øyvind Harboe" <oyvind.har...@zylin.com>
Subject Re: Null pointer exceptions and database null
Date Thu, 03 Aug 2006 21:08:36 GMT
Super!

>         // TODO: needed for JSF
>         Object oldValue = readProperty(propName);
>         if (oldValue == value)
>         {
>             // NOOP
>             return;
>         }
>         if (null != oldValue)
>         {
>             if (oldValue.equals(value))
>             {
>                 // NOOP
>                 // IMPLEMENT: not sure if this is safe!

What does this comment mean?



-- 
Øyvind Harboe
http://www.zylin.com

Mime
View raw message