Skip to content

Commit 3afc76f

Browse files
committed
Rename DIRTY to DIFF in README
1 parent 6f436a8 commit 3afc76f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Start using java-watch:
4040
var directory = Path.of("tmp", "test-dir");
4141
var watcherSetup = Watcher.watch(directory, WatchScope.PATH_AND_CHILDREN)
4242
.withExecutor(Executors.newCachedThreadPool()) // optionally configure a custom thread pool
43-
.onOverflow(Approximation.DIRTY) // optionally configure a handler for overflows
43+
.onOverflow(Approximation.DIFF) // optionally configure a handler for overflows
4444
.on(watchEvent -> {
4545
System.err.println(watchEvent);
4646
});

0 commit comments

Comments
 (0)