Changeset 12738 in josm


Ignore:
Timestamp:
2017-09-05T20:18:29+02:00 (2 weeks ago)
Author:
bastiK
Message:

see #15229 - checkstyle warnings

Location:
trunk/src/org/openstreetmap/josm/data
Files:
7 edited

Legend:

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

    r12737 r12738  
    266266     * @param d the coordinate format to use
    267267     * @return the formatted latitude
    268      * @deprecated use {@link org.openstreetmap.josm.data.coor.format.ICoordinateFormat#latToString(ILatLon)
     268     * @deprecated use {@link org.openstreetmap.josm.data.coor.format.ICoordinateFormat#latToString(ILatLon)}
    269269     */
    270270    @Deprecated
     
    282282     * @param d the coordinate format to use
    283283     * @return the formatted longitude
    284      * @deprecated use {@link org.openstreetmap.josm.data.coor.format.ICoordinateFormat#lonToString(ILatLon)
     284     * @deprecated use {@link org.openstreetmap.josm.data.coor.format.ICoordinateFormat#lonToString(ILatLon)}
    285285     */
    286286    @Deprecated
  • trunk/src/org/openstreetmap/josm/data/coor/conversion/CoordinateFormatManager.java

    r12735 r12738  
    1414public class CoordinateFormatManager {
    1515
    16     private final static List<ICoordinateFormat> formats = new ArrayList<>();
     16    private static final List<ICoordinateFormat> formats = new ArrayList<>();
    1717
    1818    static {
     
    2121        registerCoordinateFormat(NauticalCoordinateFormat.INSTANCE);
    2222        registerCoordinateFormat(ProjectedCoordinateFormat.INSTANCE);
     23    }
     24
     25    private CoordinateFormatManager() {
     26        // hide constructor
    2327    }
    2428
  • trunk/src/org/openstreetmap/josm/data/coor/conversion/DMSCoordinateFormat.java

    r12735 r12738  
    2323    public static DMSCoordinateFormat INSTANCE = new DMSCoordinateFormat();
    2424
    25     private DMSCoordinateFormat() {
     25    protected DMSCoordinateFormat() {
    2626        super("DEGREES_MINUTES_SECONDS", tr("deg\u00B0 min'' sec\""));
    2727    }
  • trunk/src/org/openstreetmap/josm/data/coor/conversion/DecimalDegreesCoordinateFormat.java

    r12735 r12738  
    1414    public static DecimalDegreesCoordinateFormat INSTANCE = new DecimalDegreesCoordinateFormat();
    1515
    16     private DecimalDegreesCoordinateFormat() {
     16    protected DecimalDegreesCoordinateFormat() {
    1717        super("DECIMAL_DEGREES", tr("Decimal Degrees"));
    1818    }
  • trunk/src/org/openstreetmap/josm/data/coor/conversion/NauticalCoordinateFormat.java

    r12735 r12738  
    2121    public static NauticalCoordinateFormat INSTANCE = new NauticalCoordinateFormat();
    2222
    23     private NauticalCoordinateFormat() {
     23    protected NauticalCoordinateFormat() {
    2424        super("NAUTICAL", tr("deg\u00B0 min'' (Nautical)"));
    2525    }
  • trunk/src/org/openstreetmap/josm/data/coor/conversion/ProjectedCoordinateFormat.java

    r12735 r12738  
    1616    public static ProjectedCoordinateFormat INSTANCE = new ProjectedCoordinateFormat();
    1717
    18     private ProjectedCoordinateFormat() {
     18    protected ProjectedCoordinateFormat() {
    1919        super("EAST_NORTH", tr("Projected Coordinates"));
    2020    }
  • trunk/src/org/openstreetmap/josm/data/osm/NodeData.java

    r12725 r12738  
    7575    }
    7676
     77    /**
     78     * @deprecated use {@link #getEastNorth(org.openstreetmap.josm.data.projection.Projecting)}
     79     */
    7780    @Override
    7881    @Deprecated
Note: See TracChangeset for help on using the changeset viewer.