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 .