Index: trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java	(revision 12154)
+++ trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java	(revision 12155)
@@ -50,4 +50,7 @@
 import org.openstreetmap.josm.tools.date.DateUtils;
 
+/**
+ * A layer that displays data from a Gpx file / the OSM gpx downloads.
+ */
 public class GpxLayer extends Layer {
 
@@ -55,5 +58,7 @@
     public GpxData data;
     private final boolean isLocalFile;
-    // used by ChooseTrackVisibilityAction to determine which tracks to show/hide
+    /**
+     * used by {@link ChooseTrackVisibilityAction} to determine which tracks to show/hide
+     */
     public boolean[] trackVisibility = new boolean[0];
 
@@ -264,4 +269,10 @@
     }
 
+    /**
+     * Shows/hides all tracks of a given date range by setting them to visible/invisible.
+     * @param fromDate The min date
+     * @param toDate The max date
+     * @param showWithoutDate Include tracks that don't have any date set..
+     */
     public void filterTracksByDate(Date fromDate, Date toDate, boolean showWithoutDate) {
         int i = 0;
