Index: /trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java	(revision 14461)
+++ /trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java	(revision 14462)
@@ -63,5 +63,6 @@
     String BASE_RELATION = "relation";
 
-    /** selector base that matches with any area regardless of whether the area border is only modelled with a single way or with a set of ways glued together with a relation.*/
+    /** selector base that matches with any area regardless of whether the area border is only modelled with a single way or with
+     * a set of ways glued together with a relation.*/
     String BASE_AREA = "area";
 
@@ -637,7 +638,8 @@
 
         /**
-         * Check if this is a known base and return the corresponding string constant.
-         * @param base
-         * @return the matching String constant
+         * Set base and check if this is a known value.
+         * @param base value for base
+         * @return the matching String constant for a known value
+         * @throws IllegalArgumentException if value is not knwon
          */
         private static String checkBase(String base) {
