public void visit ( final WebAppFilter webAppFilter ) { NullArgumentException . validateNotNull ( webAppFilter , "Web app filter" ) ; String filterName = webAppFilter . getFilterName ( ) ; if ( filterName != null ) { //CHECKSTYLE:OFF try { webContainer . unregisterFilter ( filterName ) ; } catch ( Exception ignore ) { LOG . warn ( "Unregistration exception. Skipping." , ignore ) ; } //CHECKSTYLE:ON } }
Unregisters filter from web container .