question: @ Override public boolean accept ( File file ) { String name = file . getName ( ) ; for ( String suffix : this . suffixes ) { if ( caseSensitivity . checkEndsWith ( name , suffix ) ) { return true ; } } return false ; }
target:  Checks to see if the filename ends with the suffix.