Ignore:
Timestamp:
2019-12-13T00:48:33+01:00 (4 years ago)
Author:
Don-vip
Message:

code cleanup

Location:
trunk/src/org/openstreetmap/josm/gui/layer/gpx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/ChooseTrackVisibilityAction.java

    r15503 r15586  
    138138                .findAny().orElse(GpxDrawHelper.DEFAULT_COLOR_PROPERTY.get());
    139139        JColorChooser c = new JColorChooser(cl);
    140         Object[] options = new Object[]{tr("OK"), tr("Cancel"), tr("Default")};
     140        Object[] options = {tr("OK"), tr("Cancel"), tr("Default")};
    141141        int answer = JOptionPane.showOptionDialog(
    142142                MainApplication.getMainFrame(),
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongPanel.java

    r15363 r15586  
    164164     */
    165165    public int showInDownloadDialog(String title, String helpTopic) {
    166         final ButtonSpec[] options = new ButtonSpec[] {
     166        final ButtonSpec[] options = {
    167167                new ButtonSpec(
    168168                        tr("Download"),
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java

    r15496 r15586  
    180180    private static Color[] heatMapLutColorJosmRed2Blue = createColorFromResource("red2blue");
    181181
    182     private static Color[] rtkLibQualityColors = new Color[] {
     182    private static Color[] rtkLibQualityColors = {
    183183        Color.GREEN, // Fixed, solution by carrier‐based relative positioning and the integer ambiguity is properly resolved.
    184184        Color.ORANGE, // Float, solution by carrier‐based relative positioning but the integer ambiguity is not resolved.
Note: See TracChangeset for help on using the changeset viewer.