src/main/java/de/blau/android/validation/BaseValidator.java
/**
     * Test if the element has any problems by searching all the tags for the words "fixme" or "todo", or if it has a
     * //NOSONAR key in the list of things to regularly re-survey
     * 
     * @param status status before calling this method
     * @param e the OsmElement
     * @param tags the associated tags
     * @param pi a matching PrestItem or null
     * @return the output status
     */
Test if the element has any problems by searching all the tags for the words "fixme" or "todo", or if it has a
NOSONAR key in the list of things to regularly re-survey


Test if the element has any problems by searching all the tags for the words " fixme " or " todo " or if it has a NOSONAR key in the list of things to regularly re - survey
private int validateElement(int status, @NonNull OsmElement e, @NonNull SortedMap<String, String> tags, @Nullable PresetItem pi) {
        if (fixmeValidation) {
            status = validateFixme(status, tags);
        }
        if (ageValidation && resurveyTags != null) {
            status = validateResurvey(status, e, tags);
        }
        if (missingTagValidation && pi != null && checkTags != null) {
            status = validateMissingTags(status, e, pi);
        }
        if (wrongTypeValidation && pi != null) {
            status = validateWrongType(status, e, pi);
        }
        return status;
    }
private int validateElement ( int status , @ NonNull OsmElement e , @ NonNull SortedMap < String , String > tags , @ Nullable PresetItem pi ) { if ( fixmeValidation ) { status = validateFixme ( status , tags ) ; } if ( ageValidation && resurveyTags != null ) { status = validateResurvey ( status , e , tags ) ; } if ( missingTagValidation && pi != null && checkTags != null ) { status = validateMissingTags ( status , e , pi ) ; } if ( wrongTypeValidation && pi != null ) { status = validateWrongType ( status , e , pi ) ; } return status ; }
Test if the element has any problems by searching all the tags for the words "fixme" or "todo", or if it has a
 //NOSONAR key in the list of things to regularly re-survey
Test if the element has any problems by searching all the tags for the words " fixme " or " todo " or if it has a // NOSONAR key in the list of things to regularly re - survey
// test for fixme etc // NOSONAR // age check // find missing keys // check element type