Ignore:
Timestamp:
2016-10-24T12:42:06+02:00 (3 years ago)
Author:
bastiK
Message:

rework/simplify inheritance structure of PlatformHook

PlatformHookUnixoid is no longer base class of PlatformHookWindows
and PlatformHookOsx; move common methods to PlatformHook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java

    r11113 r11156  
    110110            .append((int) maxScreenSize.getHeight()).append('\n');
    111111
    112         if (Main.platform.getClass() == PlatformHookUnixoid.class) {
     112        if (Main.platform instanceof PlatformHookUnixoid) {
    113113            // Add Java package details
    114114            String packageDetails = ((PlatformHookUnixoid) Main.platform).getJavaPackageDetails();
Note: See TracChangeset for help on using the changeset viewer.