Index: applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/josm/CompatibilityUtil.java
===================================================================
--- applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/josm/CompatibilityUtil.java	(revision 16574)
+++ applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/josm/CompatibilityUtil.java	(revision 16575)
@@ -8,9 +8,15 @@
 import org.openstreetmap.josm.data.osm.DataSet;
 
-
+/**
+ * Static helper for the transition from JOSM with {@see Main#ds} to {@see Main#getCurrentDataSet()}.
+ * 
+ *
+ */
 public class CompatibilityUtil {
 
 	private static boolean useMainDs = false;
 	private static boolean useGetCurrentDataSet = false;
+
+	private CompatibilityUtil(){}
 
 	private static boolean hasMainDs() {
@@ -66,4 +72,11 @@
 	}
 
+	/**
+	 * Replies the current data set in JOSM. Depending on the JOSM version, either uses
+	 * {@see Main#ds} or {@see Main#getCurrentDataSet()}.
+	 * 
+	 * @return the current dataset. <strong>This may be null</strong>
+	 * @throws RuntimeException thrown, if the current data set can't be read
+	 */
 	static public DataSet getCurrentDataSet() throws RuntimeException {
 		analyse();
