Re: Null pointer exceptions and database null

From: Øyvind Harboe (oyvind.harbo..ylin.com)
Date: Thu Aug 03 2006 - 17:08:36 EDT

  • Next message: Mike Kienenberger: "Re: Null pointer exceptions and database null"

    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
    



    This archive was generated by hypermail 2.0.0 : Thu Aug 03 2006 - 17:09:02 EDT