Changeset 12783 in josm for trunk/src


Ignore:
Timestamp:
2017-09-08T02:50:52+02:00 (2 years ago)
Author:
Don-vip
Message:

see #15229 - fix warnings

Location:
trunk/src/org/openstreetmap/josm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFileWrapper.java

    r12777 r12783  
    2424    private final String gridFileName;
    2525
    26     public static float NTV2_SOURCE_PRIORITY_LOCAL = 10f;
    27     public static float NTV2_SOURCE_PRIORITY_DOWNLOAD = 5f;
     26    public static final float NTV2_SOURCE_PRIORITY_LOCAL = 10f;
     27    public static final float NTV2_SOURCE_PRIORITY_DOWNLOAD = 5f;
    2828
    29     private static Map<Float, NTV2GridShiftFileSource> sources =
    30             new TreeMap<Float, NTV2GridShiftFileSource>(Collections.reverseOrder());
     29    private static Map<Float, NTV2GridShiftFileSource> sources = new TreeMap<>(Collections.reverseOrder());
    3130
    3231    /**
  • trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2Proj4DirGridShiftFileSource.java

    r12777 r12783  
    1818 * @since 12777
    1919 */
    20 public class NTV2Proj4DirGridShiftFileSource implements NTV2GridShiftFileSource, PlatformVisitor<List<File>> {
     20public final class NTV2Proj4DirGridShiftFileSource implements NTV2GridShiftFileSource, PlatformVisitor<List<File>> {
    2121
    2222    private NTV2Proj4DirGridShiftFileSource() {
  • trunk/src/org/openstreetmap/josm/tools/PlatformHook.java

    r12780 r12783  
    3434     * Visitor to construct a PlatformHook from a given {@link Platform} object.
    3535     */
    36     static final PlatformVisitor<PlatformHook> CONSTRUCT_FROM_PLATFORM = new PlatformVisitor<PlatformHook>() {
     36    final PlatformVisitor<PlatformHook> CONSTRUCT_FROM_PLATFORM = new PlatformVisitor<PlatformHook>() {
    3737        @Override
    3838        public PlatformHook visitUnixoid() {
Note: See TracChangeset for help on using the changeset viewer.