Changeset 19321 in josm for trunk


Ignore:
Timestamp:
2025-02-14T11:38:27+01:00 (10 days ago)
Author:
stoecker
Message:

checkstyle

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r19316 r19321  
    9696    /** keep subkey even if it starts with any of {@link #OBSOLETE_PREF_KEYS_START} */
    9797    private static final List<String> KEEP_PREF_KEYS = Arrays.asList(
    98         // nothing ATM
     98    // nothing ATM
    9999    );
    100100
  • trunk/src/org/openstreetmap/josm/data/coor/LatLon.java

    r19319 r19321  
    99
    1010import org.openstreetmap.josm.data.Bounds;
    11 import org.openstreetmap.josm.data.osm.Node;
    12 import org.openstreetmap.josm.data.projection.ProjectionRegistry;
    1311import org.openstreetmap.josm.tools.Utils;
    1412
  • trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java

    r19320 r19321  
    55import java.time.Instant;
    66import java.util.ArrayList;
    7 import java.util.Date;
    87import java.util.HashMap;
    98import java.util.List;
  • trunk/src/org/openstreetmap/josm/data/osm/history/HistoryOsmPrimitive.java

    r19320 r19321  
    88import java.util.Collection;
    99import java.util.Collections;
    10 import java.util.Date;
    1110import java.util.HashMap;
    1211import java.util.Locale;
  • trunk/src/org/openstreetmap/josm/data/protobuf/ProtobufPacked.java

    r19320 r19321  
    22package org.openstreetmap.josm.data.protobuf;
    33
    4 import java.io.ByteArrayOutputStream;
    54import java.util.Arrays;
    65
  • trunk/src/org/openstreetmap/josm/gui/io/importexport/GeoJSONImporter.java

    r19320 r19321  
    44import static org.openstreetmap.josm.tools.I18n.tr;
    55
    6 import java.io.IOException;
    76import java.io.InputStream;
    87import java.util.Arrays;
     
    109import org.openstreetmap.josm.actions.ExtensionFileFilter;
    1110import org.openstreetmap.josm.data.osm.DataSet;
    12 import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
    1311import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    14 import org.openstreetmap.josm.io.CachedFile;
    15 import org.openstreetmap.josm.io.Compression;
    1612import org.openstreetmap.josm.io.GeoJSONReader;
    1713import org.openstreetmap.josm.io.IllegalDataException;
  • trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java

    r19320 r19321  
    1313import javax.swing.SwingUtilities;
    1414
    15 import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
    16 import org.openstreetmap.josm.data.osm.Tag;
    1715import org.openstreetmap.josm.data.preferences.sources.MapPaintPrefHelper;
    1816import org.openstreetmap.josm.data.preferences.sources.SourceEntry;
     
    2725import org.openstreetmap.josm.tools.ListenerList;
    2826import org.openstreetmap.josm.tools.Logging;
    29 import org.openstreetmap.josm.tools.OsmPrimitiveImageProvider;
    3027import org.openstreetmap.josm.tools.Stopwatch;
    3128import org.openstreetmap.josm.tools.Utils;
  • trunk/src/org/openstreetmap/josm/gui/preferences/display/GPXSettingsPanel.java

    r19316 r19321  
    6868    private final JCheckBox largeGpsPoints = new JCheckBox(tr("Draw large GPS points"));
    6969    private final JCheckBox circleGpsPoints = new JCheckBox(tr("Draw a circle from value"));
    70     private final JComboBox<String> circleDataSource = new JosmComboBox<>(new String[] {tr("Hdop"), tr("Horizontal deviation estimate"), tr("Age of correction data")});
     70    private final JComboBox<String> circleDataSource = new JosmComboBox<>(new String[] {
     71        tr("Hdop"),
     72        tr("Horizontal deviation estimate"),
     73        tr("Age of correction data")});
    7174    private final JRadioButton colorTypeVelocity = new JRadioButton(tr("Velocity (red = slow, green = fast)"));
    7275    private final JRadioButton colorTypeDirection = new JRadioButton(tr("Direction (red = west, yellow = north, green = east, blue = south)"));
     
    425428
    426429        // circleGpsPoints
    427         circleGpsPoints.addItemListener(e -> {circleDataSource.setEnabled(circleGpsPoints.isSelected());});
     430        circleGpsPoints.addItemListener(e -> {
     431            circleDataSource.setEnabled(circleGpsPoints.isSelected());
     432        });
    428433        circleGpsPoints.setToolTipText(tr("Draw a circle from value"));
    429434        circleDataSource.setToolTipText(tr("Source of the circle size"));
  • trunk/test/unit/org/openstreetmap/josm/io/nmea/NmeaReaderTest.java

    r19316 r19321  
    6363        assertNull(wayPoints.get(0).get(GpxConstants.PT_PDOP));
    6464    }
     65
    6566    /**
    6667     * Tests reading a nmea file with GST sentences.
Note: See TracChangeset for help on using the changeset viewer.