Changeset 10692 in josm for trunk/src


Ignore:
Timestamp:
2016-07-31T23:00:12+02:00 (4 years ago)
Author:
Don-vip
Message:

fix javadoc warnings

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/PasteTagsAction.java

    r10604 r10692  
    149149
    150150        /**
    151          * Pastes the tags from a homogeneous source (the {@link Main#pasteBuffer}s selection consisting
     151         * Pastes the tags from a homogeneous source (the selection consisting
    152152         * of one type of {@link OsmPrimitive}s only).
    153153         *
     
    175175                buildTags(dialog.getResolution());
    176176            } 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
    180178                buildTags(tc);
    181179            }
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r10691 r10692  
    5050import java.util.concurrent.ThreadFactory;
    5151import java.util.concurrent.atomic.AtomicLong;
     52import java.util.function.Function;
    5253import java.util.function.Predicate;
    5354import java.util.regex.Matcher;
     
    748749    /**
    749750     * 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.
    751752     * @param <A> class of input collection
    752753     * @param <B> class of transformed collection
     
    755756     * @return the transformed unmodifiable collection
    756757     */
    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) {
    758759        return new AbstractCollection<B>() {
    759760
     
    790791    /**
    791792     * 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.
    793794     * @param <A> class of input collection
    794795     * @param <B> class of transformed collection
     
    797798     * @return the transformed unmodifiable list
    798799     */
    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) {
    800801        return new AbstractList<B>() {
    801802
Note: See TracChangeset for help on using the changeset viewer.