Minor - Fixed NPE.
This commit is contained in:
parent
14f3e0b0ff
commit
690d7bdb8f
|
@ -588,14 +588,14 @@ public abstract class PO
|
|||
log.log(Level.WARNING, "Index invalid - " + index);
|
||||
return false;
|
||||
}
|
||||
Object newval = m_newValues[index];
|
||||
if (newval == null)
|
||||
return false;
|
||||
Object newval = m_newValues[index];
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue