src/main/java/org/openjfx/ImageListHandlersController.java
private void actionOnFilterSelect(ImageConvertingFilterEnum filterOption, String params) {
        if (imageState.convertFilterParams.containsKey(filterOption.displayValue)) {
            imageState.convertFilterParams.remove(filterOption.displayValue);
            return;
        }

        imageState.convertFilterParams.put(
                filterOption.displayValue,
                new ArrayList<>(
                        Arrays.asList(
                                params.split(" ")
                        )
                )
        );

    }
/**
     * Action on a filter param is selected
     *
     * @param filterOption
     * @param params
     */
Action on a filter param is selected
@param filterOption
@param params
Action on a filter param is selected @param filterOption @param params
private void actionOnFilterSelect(ImageConvertingFilterEnum filterOption, String params) {
        if (imageState.convertFilterParams.containsKey(filterOption.displayValue)) {
            imageState.convertFilterParams.remove(filterOption.displayValue);
            return;
        }
        imageState.convertFilterParams.put(
                filterOption.displayValue,
                new ArrayList<>(
                        Arrays.asList(
                                params.split(" ")
                        )
                )
        );
    }
private void actionOnFilterSelect ( ImageConvertingFilterEnum filterOption , String params ) { if ( imageState . convertFilterParams . containsKey ( filterOption . displayValue ) ) { imageState . convertFilterParams . remove ( filterOption . displayValue ) ; return ; } imageState . convertFilterParams . put ( filterOption . displayValue , new ArrayList < > ( Arrays . asList ( params . split ( " " ) ) ) ) ; }
Action on a filter param is selected
 @param filterOption
 @param params
Action on a filter param is selected @param filterOption @param params