Changeset 9070 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2015-11-30T08:36:35+01:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
r9067 r9070 188 188 cmds.addAll(resolution); 189 189 cmds.add(new DeleteCommand(deletedWays)); 190 final SequenceCommand sequenceCommand = new SequenceCommand(/* for correct i18n of plural forms - see #9110 */190 final Command sequenceCommand = new SequenceCommand(/* for correct i18n of plural forms - see #9110 */ 191 191 trn("Combine {0} way", "Combine {0} ways", ways.size(), ways.size()), cmds); 192 192 193 return new Pair< Way, Command>(targetWay, sequenceCommand);193 return new Pair<>(targetWay, sequenceCommand); 194 194 } 195 195 -
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r9059 r9070 883 883 884 884 // add direction perpendicular to the selected segment 885 possibleMoveDirections = new ArrayList< ReferenceSegment>();885 possibleMoveDirections = new ArrayList<>(); 886 886 possibleMoveDirections.add(new ReferenceSegment(new EastNorth( 887 887 initialN1en.getY() - initialN2en.getY(), -
trunk/src/org/openstreetmap/josm/actions/relation/AbstractRelationAction.java
r8777 r9070 24 24 return Collections.<Relation>emptySet(); 25 25 } else { 26 return new SubclassFilteredCollection<OsmPrimitive, Relation>( 27 primitives, OsmPrimitive.relationPredicate); 26 return new SubclassFilteredCollection<>(primitives, OsmPrimitive.relationPredicate); 28 27 } 29 28 }
Note:
See TracChangeset
for help on using the changeset viewer.