Skip to content

Commit 3452ea1

Browse files
fixing code smells
1 parent 82ece9c commit 3452ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ru/r2cloud/cloud/GpsdClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ private void updateCoordinatesAsync() {
132132
haveResult = true;
133133
this.lat = latValue.asDouble();
134134
this.lon = lonValue.asDouble();
135-
if (alt != null) {
135+
if (altValue != null) {
136136
this.alt = altValue.asDouble();
137137
}
138138
lock.notifyAll();

0 commit comments

Comments
 (0)