Reorder method / field modifiers (#619)
* Reorder method / field modifiers * Reorder method / field modifiers v2
This commit is contained in:
@@ -35,13 +35,13 @@ import java.util.prefs.BackingStoreException;
|
||||
|
||||
public class ThemeLoader {
|
||||
|
||||
final private Logger vtmLog = LoggerFactory.getLogger("org.oscim.ThemeLoader");
|
||||
final private Logger mapsforgeLog = LoggerFactory.getLogger("org.mapsforge.ThemeLoader");
|
||||
private final Logger vtmLog = LoggerFactory.getLogger("org.oscim.ThemeLoader");
|
||||
private final Logger mapsforgeLog = LoggerFactory.getLogger("org.mapsforge.ThemeLoader");
|
||||
|
||||
|
||||
final private VtmPanel vtmPanel;
|
||||
final private MapsforgeMapPanel mapsforgeMapPanel;
|
||||
final private RSyntaxTextArea syntaxTextArea;
|
||||
private final VtmPanel vtmPanel;
|
||||
private final MapsforgeMapPanel mapsforgeMapPanel;
|
||||
private final RSyntaxTextArea syntaxTextArea;
|
||||
|
||||
private String themePath;
|
||||
private String editorText;
|
||||
|
||||
@@ -81,22 +81,22 @@ public final class LocationData {
|
||||
}
|
||||
|
||||
|
||||
public synchronized static double getLatitude() {
|
||||
public static synchronized double getLatitude() {
|
||||
return latitude;
|
||||
}
|
||||
|
||||
synchronized static void setLatitude(double latitude) {
|
||||
static synchronized void setLatitude(double latitude) {
|
||||
if (LocationData.latitude != latitude) {
|
||||
LocationData.latitude = latitude;
|
||||
notifyChange();
|
||||
}
|
||||
}
|
||||
|
||||
public synchronized static double getLongitude() {
|
||||
public static synchronized double getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public synchronized static void setLongitude(double longitude) {
|
||||
public static synchronized void setLongitude(double longitude) {
|
||||
if (LocationData.longitude != longitude) {
|
||||
LocationData.longitude = longitude;
|
||||
notifyChange();
|
||||
|
||||
Reference in New Issue
Block a user