Changeset 19120 in josm for trunk/test/functional/org/openstreetmap/josm/gui
- Timestamp:
- 2024-06-20T15:55:07+02:00 (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/gui/conflict/pair/nodes/NodeListMergerTestFT.java
r17275 r19120 3 3 4 4 import java.awt.BorderLayout; 5 import java.util.stream.Collectors;6 import java.util.stream.IntStream;7 5 8 6 import javax.swing.JFrame; … … 24 22 n1.put("key" + i, "value" + i); 25 23 } 26 // Java 11: use String.repeat 27 String note = IntStream.range(0, 50).mapToObj(i -> " A very long text ").collect(Collectors.joining()); 24 String note = " A very long text ".repeat(50); 28 25 n1.put("note", note); 29 26 w1.addNode(new Node(2));
Note:
See TracChangeset
for help on using the changeset viewer.