Skip to content
This repository has been archived by the owner on Dec 5, 2018. It is now read-only.

Fixes device comparison logic #8

Merged
merged 1 commit into from
Sep 18, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/org/edgexfoundry/data/DeviceStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public boolean update(String deviceId) {

private boolean compare(Device a, Device b) {
if (a.getAddressable().equals(b.getAddressable())
&& a.getAdminState().equals(b.getAddressable())
&& a.getAdminState().equals(b.getAdminState())
&& a.getDescription().equals(b.getDescription())
&& a.getId().equals(b.getId())
&& a.getLabels().equals(b.getLabels())
Expand Down