fix NPE
This commit is contained in:
parent
ee1c620907
commit
15694a3b8b
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ public class BgReading implements DataPointWithLabelInterface {
|
|||
return false;
|
||||
if (raw != other.raw)
|
||||
return false;
|
||||
if (!direction.equals(other.direction))
|
||||
if (!Objects.equals(direction, other.direction))
|
||||
return false;
|
||||
if (!Objects.equals(_id, other._id))
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue