src/main/java/hudson/plugins/dry/parser/AbstractDryParser.java
protected Priority getPriority(final int lines) {
        if (lines >= highThreshold) {
            return Priority.HIGH;
        }
        else if (lines >= normalThreshold) {
            return Priority.NORMAL;
        }
        else {
            return Priority.LOW;
        }
    }
protected Priority getPriority(final int lines) {
        if (lines >= highThreshold) {
            return Priority.HIGH;
        }
        else if (lines >= normalThreshold) {
            return Priority.NORMAL;
        }
        else {
            return Priority.LOW;
        }
    }
protected Priority getPriority ( final int lines ) { if ( lines >= highThreshold ) { return Priority . HIGH ; } else if ( lines >= normalThreshold ) { return Priority . NORMAL ; } else { return Priority . LOW ; } }
Returns the priority of the warning.

@param lines
number of duplicate lines
@return the priority of the warning
Returns the priority of the warning .