Skip to content

Commit

Permalink
spring-projectsGH-8659: Fixes requested after coder review
Browse files Browse the repository at this point in the history
  • Loading branch information
pziobron committed Jun 29, 2023
1 parent bb9dadb commit fbdd430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
* @author Gary Russell
* @author Artem Bilan
* @author Steven Pearce
* @author Patryk Ziobron
*/
public class FileReadingMessageSource extends AbstractMessageSource<File> implements ManageableLifecycle {

Expand Down
3 changes: 1 addition & 2 deletions src/reference/asciidoc/file.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,7 @@ With such an option, we can use one downstream flow logic for new files and use
The following example shows how to configure different logic for create and modify events in the same directory:

It is worth mentioning that the `ENTRY_DELETE` event is involved in the rename operation of sub-directory of the watched directory.
More specifically, `ENTRY_DELETE` event, which is related to the previous directory name, precedes `ENTRY_CREATE` event
which notifies about the new (renamed) directory.
More specifically, `ENTRY_DELETE` event, which is related to the previous directory name, precedes `ENTRY_CREATE` event which notifies about the new (renamed) directory.
On some operating systems (like Windows), the `ENTRY_DELETE` event has to be registered to deal with that situation.
Otherwise, renaming watched sub-directory in the File Explorer could result in the new files not being detected in that sub-directory.

Expand Down

0 comments on commit fbdd430

Please sign in to comment.