Minor - Fixed NPE.

This commit is contained in:
Heng Sin Low 2012-12-03 18:08:25 +08:00
parent 14f3e0b0ff
commit 690d7bdb8f
1 changed files with 3 additions and 3 deletions

View File

@ -589,13 +589,13 @@ public abstract class PO
return false;
}
Object newval = m_newValues[index];
if (newval == null)
return false;
if (newval == Null.NULL)
newval = null;
Object oldval = m_oldValues[index];
if (newval == null && oldval == null)
return false;
if (newval == null)
return false;
return !newval.equals(oldval);
} // is_ValueChanged