fix small error.

This commit is contained in:
Keith Woodlock
2012-12-07 20:56:52 +00:00
parent 68e094dd2f
commit 13d3221262
@@ -56,7 +56,7 @@ public class EntityIdentifier {
public Map<String, Object> getChanges() {
Map<String, Object> checkIfEmpty = null;
if (!this.changes.isEmpty()) {
if (this.changes != null && !this.changes.isEmpty()) {
checkIfEmpty = this.changes;
}
return checkIfEmpty;