Ignore:
Timestamp:
2019-11-02T16:28:02+01:00 (6 years ago)
Author:
Don-vip
Message:

see #16796 - fix most of checkstyle/pmd/findbugs violations

Location:
trunk/src/org/openstreetmap/josm/data/gpx
Files:
5 edited

Legend:

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

    r15496 r15497  
    12081208         * Creates a schema with prefix, URI and location.
    12091209         * Does NOT try to determine prefix from URI!
    1210          * @param prefix
    1211          * @param uri
    1212          * @param location
     1210         * @param prefix XML namespace prefix
     1211         * @param uri XML namespace URI
     1212         * @param location XML namespace location
    12131213         */
    12141214        public XMLNamespace(String prefix, String uri, String location) {
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxExtension.java

    r15496 r15497  
    1212 * @since 15496
    1313 */
    14 public class GpxExtension extends WithAttributes implements IWithAttributes, GpxConstants {
     14public class GpxExtension extends WithAttributes implements GpxConstants {
    1515    private final String qualifiedName, prefix, key;
    1616    private IWithAttributes parent;
     
    6060    /**
    6161     * Finds the default prefix used by JOSM for the given namespaceURI as the document is free specify another one.
    62      * @param namespaceURI
     62     * @param namespaceURI namespace URI
    6363     * @return the prefix
    6464     */
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxExtensionCollection.java

    r15496 r15497  
    2020 */
    2121public class GpxExtensionCollection extends ArrayList<GpxExtension> {
     22
     23    private static final long serialVersionUID = 1L;
    2224
    2325    private Stack<GpxExtension> childStack = new Stack<>();
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxTrack.java

    r15496 r15497  
    9595
    9696    private void setColorExtension(Color color) {
    97         getExtensions().findAndRemove("gpxx",  "DisplayColor");
     97        getExtensions().findAndRemove("gpxx", "DisplayColor");
    9898        if (color == null) {
    99             getExtensions().findAndRemove("gpxd",  "color");
     99            getExtensions().findAndRemove("gpxd", "color");
    100100        } else {
    101101            getExtensions().addOrUpdate("gpxd", "color", String.format("#%02X%02X%02X", color.getRed(), color.getGreen(), color.getBlue()));
  • trunk/src/org/openstreetmap/josm/data/gpx/IGpxTrack.java

    r15496 r15497  
    4242    /**
    4343     * Sets the color of this track. Not necessarily supported by all implementations.
    44      * @param color
     44     * @param color color of this track
    4545     * @since 15496
    4646     */
Note: See TracChangeset for help on using the changeset viewer.