- Timestamp:
- 2016-07-31T23:00:12+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/PasteTagsAction.java
r10604 r10692 149 149 150 150 /** 151 * Pastes the tags from a homogeneous source (the {@link Main#pasteBuffer}sselection consisting151 * Pastes the tags from a homogeneous source (the selection consisting 152 152 * of one type of {@link OsmPrimitive}s only). 153 153 * … … 175 175 buildTags(dialog.getResolution()); 176 176 } else { 177 // no conflicts in the source tags to resolve. Just apply the tags 178 // to the target primitives 179 // 177 // no conflicts in the source tags to resolve. Just apply the tags to the target primitives 180 178 buildTags(tc); 181 179 } -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r10691 r10692 50 50 import java.util.concurrent.ThreadFactory; 51 51 import java.util.concurrent.atomic.AtomicLong; 52 import java.util.function.Function; 52 53 import java.util.function.Predicate; 53 54 import java.util.regex.Matcher; … … 748 749 /** 749 750 * Transforms the collection {@code c} into an unmodifiable collection and 750 * applies the {@link org.openstreetmap.josm.tools.Utils.Function} {@code f} on each element upon access.751 * applies the {@link Function} {@code f} on each element upon access. 751 752 * @param <A> class of input collection 752 753 * @param <B> class of transformed collection … … 755 756 * @return the transformed unmodifiable collection 756 757 */ 757 public static <A, B> Collection<B> transform(final Collection<? extends A> c, final java.util.function.Function<A, B> f) {758 public static <A, B> Collection<B> transform(final Collection<? extends A> c, final Function<A, B> f) { 758 759 return new AbstractCollection<B>() { 759 760 … … 790 791 /** 791 792 * Transforms the list {@code l} into an unmodifiable list and 792 * applies the {@link org.openstreetmap.josm.tools.Utils.Function} {@code f} on each element upon access.793 * applies the {@link Function} {@code f} on each element upon access. 793 794 * @param <A> class of input collection 794 795 * @param <B> class of transformed collection … … 797 798 * @return the transformed unmodifiable list 798 799 */ 799 public static <A, B> List<B> transform(final List<? extends A> l, final java.util.function.Function<A, B> f) {800 public static <A, B> List<B> transform(final List<? extends A> l, final Function<A, B> f) { 800 801 return new AbstractList<B>() { 801 802
Note:
See TracChangeset
for help on using the changeset viewer.