refactor 'final static' to 'static final' convention
This commit is contained in:
@@ -46,16 +46,16 @@ public class Main {
|
||||
|
||||
public static Preferences prefs = Preferences.userNodeForPackage(Main.class);
|
||||
public static boolean useDarkTheme = true; // set black look and feel as default for unimpaired color impression
|
||||
public final static BaseAppender ALL_APPENDER = new AllAppender();
|
||||
public final static BaseAppender VTM_APPENDER = new VtmAppender();
|
||||
public final static BaseAppender MAPSFORGE_APPENDER = new MapsforgeAppender();
|
||||
public static final BaseAppender ALL_APPENDER = new AllAppender();
|
||||
public static final BaseAppender VTM_APPENDER = new VtmAppender();
|
||||
public static final BaseAppender MAPSFORGE_APPENDER = new MapsforgeAppender();
|
||||
|
||||
public final static int MAX_ZOOM_LEVEL = 21;
|
||||
public final static int MIN_ZOOM_LEVEL = 0;
|
||||
public static final int MAX_ZOOM_LEVEL = 21;
|
||||
public static final int MIN_ZOOM_LEVEL = 0;
|
||||
|
||||
|
||||
public final static ImageIcon ICON_OPEN = new ImageIcon(Main.class.getClassLoader().getResource("menu-open.png"));
|
||||
public final static ImageIcon ICON_SAVE = new ImageIcon(Main.class.getClassLoader().getResource("menu-saveall.png"));
|
||||
public static final ImageIcon ICON_OPEN = new ImageIcon(Main.class.getClassLoader().getResource("menu-open.png"));
|
||||
public static final ImageIcon ICON_SAVE = new ImageIcon(Main.class.getClassLoader().getResource("menu-saveall.png"));
|
||||
public static final ImageIcon ICON_EDIT = new ImageIcon(Main.class.getClassLoader().getResource("editSource_dark.png"));
|
||||
public static final ImageIcon ICON_DEBUG = new ImageIcon(Main.class.getClassLoader().getResource("debug_dark.png"));
|
||||
public static final ImageIcon ICON_EXIT = new ImageIcon(Main.class.getClassLoader().getResource("exit_dark.png"));
|
||||
|
||||
@@ -52,7 +52,7 @@ import javax.swing.BorderFactory;
|
||||
import javax.swing.JPanel;
|
||||
|
||||
public class MapsforgeMapPanel extends JPanel {
|
||||
private final static Logger log = LoggerFactory.getLogger(MapsforgeMapPanel.class);
|
||||
private static final Logger log = LoggerFactory.getLogger(MapsforgeMapPanel.class);
|
||||
private final GraphicFactory GRAPHIC_FACTORY = AwtGraphicFactory.INSTANCE;
|
||||
private AwtMapView mapView;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.slf4j.LoggerFactory;
|
||||
|
||||
public class MapAdapter extends Map implements Map.UpdateListener {
|
||||
|
||||
private final static Logger log = LoggerFactory.getLogger(MapAdapter.class);
|
||||
private static final Logger log = LoggerFactory.getLogger(MapAdapter.class);
|
||||
|
||||
MapAdapter() {
|
||||
super();
|
||||
|
||||
Reference in New Issue
Block a user