Changeset 9477 in josm for trunk/src


Ignore:
Timestamp:
2016-01-16T01:18:11+01:00 (8 years ago)
Author:
Don-vip
Message:

javadoc fixes

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/GpxImporter.java

    r9461 r9477  
    4242        private final Runnable postLayerTask;
    4343
     44        /**
     45         * Constructs a new {@code GpxImporterData}.
     46         * @param gpxLayer The imported GPX layer. May be null if no GPX data.
     47         * @param markerLayer The imported marker layer. May be null if no marker.
     48         * @param postLayerTask The task to run after GPX and/or marker layer has been added to MapView.
     49         */
    4450        public GpxImporterData(GpxLayer gpxLayer, MarkerLayer markerLayer, Runnable postLayerTask) {
    4551            this.gpxLayer = gpxLayer;
     
    4854        }
    4955
     56        /**
     57         * Returns the imported GPX layer. May be null if no GPX data.
     58         * @return the imported GPX layer. May be null if no GPX data.
     59         */
    5060        public GpxLayer getGpxLayer() {
    5161            return gpxLayer;
    5262        }
    5363
     64        /**
     65         * Returns the imported marker layer. May be null if no marker.
     66         * @return the imported marker layer. May be null if no marker.
     67         */
    5468        public MarkerLayer getMarkerLayer() {
    5569            return markerLayer;
    5670        }
    5771
     72        /**
     73         * Returns the task to run after GPX and/or marker layer has been added to MapView.
     74         * @return the task to run after GPX and/or marker layer has been added to MapView.
     75         */
    5876        public Runnable getPostLayerTask() {
    5977            return postLayerTask;
     
    7088    /**
    7189     * Returns a GPX file filter (*.gpx and *.gpx.gz files).
     90     * @return a GPX file filter
    7291     */
    7392    public static ExtensionFileFilter getFileFilter() {
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r9473 r9477  
    13141314     * If the collection {@code elements} is larger than {@code maxElements} elements,
    13151315     * the collection is shortened and the {@code overflowIndicator} is appended.
     1316     * @param <T> type of elements
    13161317     * @param elements collection to shorten
    13171318     * @param maxElements maximum number of elements to keep (including including the {@code overflowIndicator})
Note: See TracChangeset for help on using the changeset viewer.