forked from upstream-mirrors/OpenTracks
Code cleanup using AndroidStudio's Analyze feature.
This commit is contained in:
@@ -25,7 +25,7 @@ class GpsStatus {
|
||||
|
||||
private GpsStatusValue gpsStatus = GpsStatusValue.GPS_NONE;
|
||||
private GpsStatusListener client;
|
||||
private Context context;
|
||||
private final Context context;
|
||||
|
||||
// Last location. It can be null.
|
||||
private Location lastLocation = null;
|
||||
@@ -51,7 +51,7 @@ class GpsStatus {
|
||||
}
|
||||
}
|
||||
|
||||
private Handler gpsStatusHandler;
|
||||
private final Handler gpsStatusHandler;
|
||||
private GpsStatusRunner gpsStatusRunner = null;
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,7 +12,7 @@ import de.dennisguse.opentracks.content.data.TrackPoint;
|
||||
|
||||
public class HandlerServer {
|
||||
|
||||
private static String TAG = HandlerServer.class.getSimpleName();
|
||||
private static final String TAG = HandlerServer.class.getSimpleName();
|
||||
|
||||
private final LocationHandler locationHandler;
|
||||
private final HandlerServerInterface service;
|
||||
|
||||
Reference in New Issue
Block a user