src/main/java/de/blau/android/validation/BaseValidator.java
/**
     * Check if missing key validation isn't suppressed by other tags
     * 
     * @param e the OsmElement to validate
     * @param key the missing key
     * @return true if we need to report
     */
Check if missing key validation isn't suppressed by other tags

@param e the OsmElement to validate
@param key the missing key
@return true if we need to report
Check if missing key validation isn ' t suppressed by other tags @param e the OsmElement to validate @param key the missing key @return true if we need to report
private boolean reportMissingKey(@NonNull OsmElement e, @NonNull String key) {
        Set<KeyValue> suppressionTags = MISSING_KEY_SUPPRESSION.get(key);
        for (KeyValue tag : suppressionTags) {
            if (e.hasTagWithValue(tag.getKey(), tag.getValue())) {
                return false;
            }
        }
        return true;
    }
private boolean reportMissingKey ( @ NonNull OsmElement e , @ NonNull String key ) { Set < KeyValue > suppressionTags = MISSING_KEY_SUPPRESSION . get ( key ) ; for ( KeyValue tag : suppressionTags ) { if ( e . hasTagWithValue ( tag . getKey ( ) , tag . getValue ( ) ) ) { return false ; } } return true ; }
Check if missing key validation isn't suppressed by other tags
Check if missing key validation isn ' t suppressed by other tags