Code cleanup via Android Studio analyze.

Notably change: TrackPoint's copy constructor missed to copy the elevationGain.
This commit is contained in:
Dennis Guse
2020-09-20 18:46:05 +02:00
parent bd13535d3c
commit 0dfd31a308
5 changed files with 4 additions and 10 deletions
@@ -102,7 +102,7 @@ class GpsStatus {
* It look for GPS changes in lastLocation if it's not null. If it's null then look for in lastValidLocation if any.
*/
public void onLocationChanged(final Location location) {
if (checking == true) {
if (checking) {
return;
}