Changeset 6850 in josm for trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
- Timestamp:
- 2014-02-14T01:09:29+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
r6643 r6850 69 69 * @return The report header (software and system info) 70 70 */ 71 public static String getReportHeader() 72 { 71 public static String getReportHeader() { 73 72 StringBuilder text = new StringBuilder(); 74 73 text.append(Version.getInstance().getReleaseAttributes()); … … 87 86 text.append("\n"); 88 87 if (Main.platform.getClass() == PlatformHookUnixoid.class) { 88 // Add Java package details for Debian/Ubuntu 89 89 String packageDetails = ((PlatformHookUnixoid) Main.platform).getJavaPackageDetails(); 90 90 if (packageDetails != null) { … … 92 92 text.append(packageDetails); 93 93 text.append("\n"); 94 } 95 // Add WebStart package details for Debian/Ubuntu, if run from JNLP 96 if (Package.getPackage("javax.jnlp") != null) { 97 String webStartDetails = ((PlatformHookUnixoid) Main.platform).getWebStartPackageDetails(); 98 if (webStartDetails != null) { 99 text.append("WebStart package: "); 100 text.append(webStartDetails); 101 text.append("\n"); 102 } 94 103 } 95 104 }
Note:
See TracChangeset
for help on using the changeset viewer.