Skip to content

Commit

Permalink
(#----) Fix handling of data without position
Browse files Browse the repository at this point in the history
  • Loading branch information
squaregoldfish committed Feb 6, 2024
1 parent 1b352b5 commit b30c49c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ public boolean contains(SensorValue sensorValue) {
public boolean contains(LocalDateTime time) {
boolean result = false;

result = longitudes.containsTime(time);
result = null != longitudes && longitudes.containsTime(time);
if (!result) {
result = latitudes.containsTime(time);
result = null != latitudes && latitudes.containsTime(time);
}
if (!result) {
for (SensorValuesList sensorValues : valuesByColumn.values()) {
Expand Down

0 comments on commit b30c49c

Please sign in to comment.