@Override

        public void onChange(
                             Collection<File> addedFiles,
                             Collection<File> updatedFiles,
                             Collection<File> removedFiles,
                             String filter) {
        boolean isUpdate = !updatedFiles.isEmpty();

        // The net is to allow updates alone or removals alone.
        String validationMessage = validateNotification(addedFiles, updatedFiles, removedFiles);
        if ( validationMessage != null ) {
            // TODO: Need to understand what is happening here.
            // Tr.warning(tc,  "Unexpected notification on [ " + rootContainer + " ]: " + validationMessage);
            Tr.debug(tc,  "Unexpected notification on [ " + rootContainer + " ]: " + validationMessage);
        } else {
            notifyAllListeners(isUpdate, filter);
        }
    }
@ Override public void onChange ( Collection < File > addedFiles , Collection < File > updatedFiles , Collection < File > removedFiles , String filter ) { boolean isUpdate = ! updatedFiles . isEmpty ( ) ; String validationMessage = validateNotification ( addedFiles , updatedFiles , removedFiles ) ; if ( validationMessage != null ) { Tr . debug ( tc , "Unexpected notification on [ " + rootContainer + " ]: " + validationMessage ) ; } else { notifyAllListeners ( isUpdate , filter ) ; } }
@Trivial // Allow this to be logged: One entry in one change collection is expected.