commit | adcafb6e269937b951d81fc1377ce2ff0357a4e4 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Sat Oct 04 22:35:15 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Mon Oct 06 10:50:45 2014 -0700 |
tree | 8e4505716ceb08516aad4f34ab3530de2aaa7a28 | |
parent | f9ce497c1243621818bd81ec64c90b9912691915 [diff] |
Add missing null check Change-Id: I363765d3e033dbc5e2fa9fa86137ace5f869fa46
diff --git a/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java b/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java index 6bcf1db..52eac0a 100644 --- a/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java +++ b/core/api/src/main/java/org/onlab/onos/net/flow/FlowId.java
@@ -26,6 +26,9 @@ if (this == obj) { return true; } + if (obj == null) { + return false; + } if (obj.getClass() == this.getClass()) { FlowId that = (FlowId) obj; return Objects.equal(this.flowid, that.flowid);