src/main/java/de/blau/android/validation/ExtendedValidator.java
/**
     * Add an intermediate result
     * 
     * @param result the current result
     * @param intermediate the intermediate result
     * @return the new result
     */
Add an intermediate result

@param result the current result
@param intermediate the intermediate result
@return the new result
Add an intermediate result @param result the current result @param intermediate the intermediate result @return the new result
private int addResult(int result, int intermediate) {
        if (result == Validator.OK) {
            result = intermediate;
        } else {
            result |= intermediate;
        }
        return result;
    }
private int addResult ( int result , int intermediate ) { if ( result == Validator . OK ) { result = intermediate ; } else { result |= intermediate ; } return result ; }
Add an intermediate result
Add an intermediate result