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;
|
return false;
|
||||||
if (raw != other.raw)
|
if (raw != other.raw)
|
||||||
return false;
|
return false;
|
||||||
if (!direction.equals(other.direction))
|
if (!Objects.equals(direction, other.direction))
|
||||||
return false;
|
return false;
|
||||||
if (!Objects.equals(_id, other._id))
|
if (!Objects.equals(_id, other._id))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue