Ignore:
Timestamp:
2015-06-21T01:13:09+02:00 (4 years ago)
Author:
Don-vip
Message:

checkstyle: redundant modifiers

File:
1 edited

Legend:

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

    r8510 r8512  
    1616     *  GPX does not place restrictions on the length of this field or the characters contained in it.
    1717     *  It is up to the receiving application to validate the field before sending it to the GPS. */
    18     public static final String GPX_NAME = "name";
     18    String GPX_NAME = "name";
    1919
    2020    /** GPS element comment. Sent to GPS as comment. */
    21     public static final String GPX_CMT = "cmt";
     21    String GPX_CMT = "cmt";
    2222
    2323    /** Text description of the element. Holds additional information about the element intended for the user, not the GPS. */
    24     public static final String GPX_DESC = "desc";
     24    String GPX_DESC = "desc";
    2525
    2626    /** Source of data. Included to give user some idea of reliability and accuracy of data. */
    27     public static final String GPX_SRC = "src";
     27    String GPX_SRC = "src";
    2828
    29     public static final String META_PREFIX = "meta.";
    30     public static final String META_AUTHOR_NAME = META_PREFIX + "author.name";
    31     public static final String META_AUTHOR_EMAIL = META_PREFIX + "author.email";
    32     public static final String META_AUTHOR_LINK = META_PREFIX + "author.link";
    33     public static final String META_COPYRIGHT_AUTHOR = META_PREFIX + "copyright.author";
    34     public static final String META_COPYRIGHT_LICENSE = META_PREFIX + "copyright.license";
    35     public static final String META_COPYRIGHT_YEAR = META_PREFIX + "copyright.year";
    36     public static final String META_DESC = META_PREFIX + "desc";
    37     public static final String META_KEYWORDS = META_PREFIX + "keywords";
    38     public static final String META_LINKS = META_PREFIX + "links";
    39     public static final String META_NAME = META_PREFIX + "name";
    40     public static final String META_TIME = META_PREFIX + "time";
    41     public static final String META_BOUNDS = META_PREFIX + "bounds";
    42     public static final String META_EXTENSIONS = META_PREFIX + "extensions";
     29    String META_PREFIX = "meta.";
     30    String META_AUTHOR_NAME = META_PREFIX + "author.name";
     31    String META_AUTHOR_EMAIL = META_PREFIX + "author.email";
     32    String META_AUTHOR_LINK = META_PREFIX + "author.link";
     33    String META_COPYRIGHT_AUTHOR = META_PREFIX + "copyright.author";
     34    String META_COPYRIGHT_LICENSE = META_PREFIX + "copyright.license";
     35    String META_COPYRIGHT_YEAR = META_PREFIX + "copyright.year";
     36    String META_DESC = META_PREFIX + "desc";
     37    String META_KEYWORDS = META_PREFIX + "keywords";
     38    String META_LINKS = META_PREFIX + "links";
     39    String META_NAME = META_PREFIX + "name";
     40    String META_TIME = META_PREFIX + "time";
     41    String META_BOUNDS = META_PREFIX + "bounds";
     42    String META_EXTENSIONS = META_PREFIX + "extensions";
    4343
    44     public static final String JOSM_EXTENSIONS_NAMESPACE_URI = Main.getXMLBase() + "/gpx-extensions-1.0";
     44    String JOSM_EXTENSIONS_NAMESPACE_URI = Main.getXMLBase() + "/gpx-extensions-1.0";
    4545
    4646    /** Elevation (in meters) of the point. */
    47     public static final String PT_ELE = "ele";
     47    String PT_ELE = "ele";
    4848
    4949    /** Creation/modification timestamp for the point.
     
    5151     *  Conforms to ISO 8601 specification for date/time representation.
    5252     *  Fractional seconds are allowed for millisecond timing in tracklogs. */
    53     public static final String PT_TIME = "time";
     53    String PT_TIME = "time";
    5454
    5555    /** Magnetic variation (in degrees) at the point. 0.0 <= value < 360.0 */
    56     public static final String PT_MAGVAR = "magvar";
     56    String PT_MAGVAR = "magvar";
    5757
    5858    /** Height, in meters, of geoid (mean sea level) above WGS-84 earth ellipsoid. (NMEA GGA message) */
    59     public static final String PT_GEOIDHEIGHT = "geoidheight";
     59    String PT_GEOIDHEIGHT = "geoidheight";
    6060
    6161    /** Text of GPS symbol name. For interchange with other programs, use the exact spelling of the symbol on the GPS, if known. */
    62     public static final String PT_SYM = "sym";
     62    String PT_SYM = "sym";
    6363
    6464    /** Type (textual classification) of element. */
    65     public static final String PT_TYPE = "type";
     65    String PT_TYPE = "type";
    6666
    6767    /** Type of GPS fix. none means GPS had no fix. Value comes from list: {'none'|'2d'|'3d'|'dgps'|'pps'} */
    68     public static final String PT_FIX = "fix";
     68    String PT_FIX = "fix";
    6969
    7070    /** Number of satellites used to calculate the GPS fix. (not number of satellites in view). */
    71     public static final String PT_SAT = "sat";
     71    String PT_SAT = "sat";
    7272
    7373    /** Horizontal dilution of precision. */
    74     public static final String PT_HDOP = "hdop";
     74    String PT_HDOP = "hdop";
    7575
    7676    /** Vertical dilution of precision. */
    77     public static final String PT_VDOP = "vdop";
     77    String PT_VDOP = "vdop";
    7878
    7979    /** Position dilution of precision. */
    80     public static final String PT_PDOP = "pdop";
     80    String PT_PDOP = "pdop";
    8181
    8282    /** Number of seconds since last DGPS update. */
    83     public static final String PT_AGEOFDGPSDATA = "ageofdgpsdata";
     83    String PT_AGEOFDGPSDATA = "ageofdgpsdata";
    8484
    8585    /** Represents a differential GPS station. 0 <= value <= 1023 */
    86     public static final String PT_DGPSID = "dgpsid";
     86    String PT_DGPSID = "dgpsid";
    8787
    8888    /**
    8989     * Ordered list of all possible waypoint keys.
    9090     */
    91     public static List<String> WPT_KEYS = Arrays.asList(PT_ELE, PT_TIME, PT_MAGVAR, PT_GEOIDHEIGHT,
     91    List<String> WPT_KEYS = Arrays.asList(PT_ELE, PT_TIME, PT_MAGVAR, PT_GEOIDHEIGHT,
    9292            GPX_NAME, GPX_CMT, GPX_DESC, GPX_SRC, META_LINKS, PT_SYM, PT_TYPE,
    9393            PT_FIX, PT_SAT, PT_HDOP, PT_VDOP, PT_PDOP, PT_AGEOFDGPSDATA, PT_DGPSID, META_EXTENSIONS);
     
    9696     * Ordered list of all possible route and track keys.
    9797     */
    98     public static List<String> RTE_TRK_KEYS = Arrays.asList(
     98    List<String> RTE_TRK_KEYS = Arrays.asList(
    9999            GPX_NAME, GPX_CMT, GPX_DESC, GPX_SRC, META_LINKS, "number", PT_TYPE, META_EXTENSIONS);
    100100
     
    102102     * Possible fix values.
    103103     */
    104     public static Collection<String> FIX_VALUES = Arrays.asList("none", "2d", "3d", "dgps", "pps");
     104    Collection<String> FIX_VALUES = Arrays.asList("none", "2d", "3d", "dgps", "pps");
    105105}
Note: See TracChangeset for help on using the changeset viewer.