Changeset 16204 in josm
- Timestamp:
- 2020-03-27T10:51:26+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/DownloadPrimitivesWithReferrersTask.java
r16203 r16204 204 204 * @return The Dialog object 205 205 */ 206 p rivatestatic ExtendedDialog reportProblemDialog(Set<PrimitiveId> errs,206 public static ExtendedDialog reportProblemDialog(Set<PrimitiveId> errs, 207 207 String title, String text, String listLabel, int msgType) { 208 208 JPanel p = new JPanel(new GridBagLayout()); … … 220 220 txt.setColumns(40); 221 221 txt.setRows(1); 222 txt.setText(errs.stream().map(String::valueOf).collect(Collectors.joining(", "))); 222 txt.setText(errs.stream().map(pid -> pid.getType().getAPIName().substring(0, 1) + pid.getUniqueId()) 223 .collect(Collectors.joining(", "))); 223 224 JScrollPane scroll = new JScrollPane(txt); 224 225 p.add(scroll, GBC.eop().weight(1.0, 0.0).fill(GBC.HORIZONTAL));
Note:
See TracChangeset
for help on using the changeset viewer.