Changeset 16924 in josm


Ignore:
Timestamp:
2020-08-24T20:38:03+02:00 (3 years ago)
Author:
simon04
Message:

Java Warnings

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r16923 r16924  
    13831383    }
    13841384
    1385     /** 90 degrees in radians units */
    1386     private static final double DEGREE_90 = 90.0 * Math.PI / 180.0;
    1387 
    13881385    /**
    13891386     * Creates a scaled down version of the input image to fit maximum dimensions. (Keeps aspect ratio)
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java

    r16911 r16924  
    108108     */
    109109    public Optional<String> getDesktopEnvironment() {
    110         return Optional.ofNullable(Utils.getSystemEnv("XDG_CURRENT_DESKTOP")).filter(s -> !s.isEmpty());
     110        return Optional.ofNullable(getSystemEnv("XDG_CURRENT_DESKTOP")).filter(s -> !s.isEmpty());
    111111    }
    112112
Note: See TracChangeset for help on using the changeset viewer.