chapter_009/src/main/java/ru/job4j/io/Args.java
/**
     * Check endsWith of the file, if endsWith of the file not equals excule than add in the finalList.
     *
     * @param excule - excule.
     */
Check endsWith of the file, if endsWith of the file not equals excule than add in the finalList.
@param excule - excule.
Check endsWith of the file if endsWith of the file not equals excule than add in the finalList . @param excule - excule .
private void excule(String excule) {
        for (File file : this.files) {
            if (file != null && !file.getName().endsWith(excule)) {
                this.finalList.add(file);
            }
        }
    }
private void excule ( String excule ) { for ( File file : this . files ) { if ( file != null && ! file . getName ( ) . endsWith ( excule ) ) { this . finalList . add ( file ) ; } } }
Check endsWith of the file, if endsWith of the file not equals excule than add in the finalList.
Check endsWith of the file if endsWith of the file not equals excule than add in the finalList .