Ignore:
Timestamp:
2014-04-29T15:35:53+02:00 (6 years ago)
Author:
Don-vip
Message:

fix more warnings (-Xlint:rawtypes), remove deprecated method and unused imports

File:
1 edited

Legend:

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

    r7005 r7027  
    8686        text.append("\n");
    8787        if (Main.platform.getClass() == PlatformHookUnixoid.class) {
    88             // Add Java package details for Debian/Ubuntu 
     88            // Add Java package details for Debian/Ubuntu
    8989            String packageDetails = ((PlatformHookUnixoid) Main.platform).getJavaPackageDetails();
    9090            if (packageDetails != null) {
     
    9393                text.append("\n");
    9494            }
    95             // Add WebStart package details for Debian/Ubuntu, if run from JNLP 
     95            // Add WebStart package details for Debian/Ubuntu, if run from JNLP
    9696            if (Package.getPackage("javax.jnlp") != null) {
    9797                String webStartDetails = ((PlatformHookUnixoid) Main.platform).getWebStartPackageDetails();
     
    159159        text.append(reportHeader);
    160160        try {
    161             Map<String, Setting> settings = Main.pref.getAllSettings();
     161            Map<String, Setting<?>> settings = Main.pref.getAllSettings();
    162162            settings.remove("osm-server.username");
    163163            settings.remove("osm-server.password");
     
    170170                }
    171171            }
    172             for (Entry<String, Setting> entry : settings.entrySet()) {
     172            for (Entry<String, Setting<?>> entry : settings.entrySet()) {
    173173                text.append(entry.getKey()).append("=").append(entry.getValue().getValue().toString()).append("\n");
    174174            }
Note: See TracChangeset for help on using the changeset viewer.