Changeset 16532 in josm
- Timestamp:
- 2020-05-31T21:06:13+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
r16531 r16532 102 102 StringBuilder b = new StringBuilder(gd.getIDstring()); 103 103 DisplayMode dm = gd.getDisplayMode(); 104 if (dm != null) { 104 // Java 11 implements DisplayMode#toString 105 if (dm != null && dm.toString().contains("java.awt.DisplayMode")) { 105 106 b.append(' ').append(dm.getWidth()).append('x').append(dm.getHeight()); 107 } else if (dm != null) { 108 b.append(' ').append(dm.toString()); 106 109 } 107 110 return b.toString();
Note:
See TracChangeset
for help on using the changeset viewer.