private Priority determinePriority ( final Matcher matcher ) { if ( isOfType ( matcher , "note" ) || isOfType ( matcher , "info" ) ) { return Priority . LOW ; } else if ( isOfType ( matcher , "warning" ) ) { return Priority . NORMAL ; } return Priority . HIGH ; }
Determines the priority of the warning .