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);
|
log.log(Level.WARNING, "Index invalid - " + index);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
Object newval = m_newValues[index];
|
Object newval = m_newValues[index];
|
||||||
if (newval == null)
|
|
||||||
return false;
|
|
||||||
if (newval == Null.NULL)
|
if (newval == Null.NULL)
|
||||||
newval = null;
|
newval = null;
|
||||||
Object oldval = m_oldValues[index];
|
Object oldval = m_oldValues[index];
|
||||||
if (newval == null && oldval == null)
|
if (newval == null && oldval == null)
|
||||||
return false;
|
return false;
|
||||||
|
if (newval == null)
|
||||||
|
return false;
|
||||||
return !newval.equals(oldval);
|
return !newval.equals(oldval);
|
||||||
} // is_ValueChanged
|
} // is_ValueChanged
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue