Index: trunk/src/org/openstreetmap/josm/data/validation/TestError.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/TestError.java	(revision 14912)
+++ trunk/src/org/openstreetmap/josm/data/validation/TestError.java	(revision 14913)
@@ -275,5 +275,5 @@
     /**
      * Returns the ignore state for this error.
-     * @return the ignore state for this error
+     * @return the ignore state for this error or null if any primitive is new
      */
     public String getIgnoreState() {
@@ -311,11 +311,9 @@
 
     private boolean calcIgnored() {
-        String state = getIgnoreGroup();
-        if (state != null && OsmValidator.hasIgnoredError(state))
+        if (OsmValidator.hasIgnoredError(getIgnoreGroup()))
             return true;
-        state = getIgnoreSubGroup();
-        if (state != null && OsmValidator.hasIgnoredError(state))
+        if (OsmValidator.hasIgnoredError(getIgnoreSubGroup()))
             return true;
-        state = getIgnoreState();
+        String state = getIgnoreState();
         return state != null && OsmValidator.hasIgnoredError(state);
     }
