Index: /trunk/src/org/openstreetmap/josm/io/GpxImporter.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/io/GpxImporter.java	(revision 9476)
+++ /trunk/src/org/openstreetmap/josm/io/GpxImporter.java	(revision 9477)
@@ -42,4 +42,10 @@
         private final Runnable postLayerTask;
 
+        /**
+         * Constructs a new {@code GpxImporterData}.
+         * @param gpxLayer The imported GPX layer. May be null if no GPX data.
+         * @param markerLayer The imported marker layer. May be null if no marker.
+         * @param postLayerTask The task to run after GPX and/or marker layer has been added to MapView.
+         */
         public GpxImporterData(GpxLayer gpxLayer, MarkerLayer markerLayer, Runnable postLayerTask) {
             this.gpxLayer = gpxLayer;
@@ -48,12 +54,24 @@
         }
 
+        /**
+         * Returns the imported GPX layer. May be null if no GPX data.
+         * @return the imported GPX layer. May be null if no GPX data.
+         */
         public GpxLayer getGpxLayer() {
             return gpxLayer;
         }
 
+        /**
+         * Returns the imported marker layer. May be null if no marker.
+         * @return the imported marker layer. May be null if no marker.
+         */
         public MarkerLayer getMarkerLayer() {
             return markerLayer;
         }
 
+        /**
+         * Returns the task to run after GPX and/or marker layer has been added to MapView.
+         * @return the task to run after GPX and/or marker layer has been added to MapView.
+         */
         public Runnable getPostLayerTask() {
             return postLayerTask;
@@ -70,4 +88,5 @@
     /**
      * Returns a GPX file filter (*.gpx and *.gpx.gz files).
+     * @return a GPX file filter
      */
     public static ExtensionFileFilter getFileFilter() {
Index: /trunk/src/org/openstreetmap/josm/tools/Utils.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 9476)
+++ /trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 9477)
@@ -1314,4 +1314,5 @@
      * If the collection {@code elements} is larger than {@code maxElements} elements,
      * the collection is shortened and the {@code overflowIndicator} is appended.
+     * @param <T> type of elements
      * @param elements collection to shorten
      * @param maxElements maximum number of elements to keep (including including the {@code overflowIndicator})
