@ Override public synchronized void prepareAnalyzer ( Engine engine ) throws InitializationException { if ( rules . isEmpty ( ) ) { try { loadSuppressionBaseData ( ) ; } catch ( SuppressionParseException ex ) { throw new InitializationException ( "Error initializing the suppression analyzer: " + ex . getLocalizedMessage ( ) , ex , true ) ; } try { loadSuppressionData ( ) ; } catch ( SuppressionParseException ex ) { throw new InitializationException ( "Warn initializing the suppression analyzer: " + ex . getLocalizedMessage ( ) , ex , false ) ; } } }
The prepare method loads the suppression XML file .