private static String getCommittteeShortName ( final DocumentProposalData proposal ) { final String upperCase = proposal . getProcessedIn ( ) . replaceAll ( "\\d" , "" ) . replace ( "/:" , "" ) . toUpperCase ( Locale . ENGLISH ) ; if ( upperCase . contains ( "," ) ) { return upperCase . substring ( 0 , upperCase . indexOf ( ' ' ) ) ; } else { return upperCase ; } }
Gets the committtee short name .