Skip to content

Commit 86d7f5e

Browse files
committed
Reduce diff
1 parent 3b9efdd commit 86d7f5e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/main/java/engineering/swat/watch/impl/overflows/IndexingRescanner.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,11 @@ protected MemorylessRescanner.Generator newGenerator(Path path, WatchScope scope
185185
}
186186

187187
protected class Generator extends MemorylessRescanner.Generator {
188-
// Field to keep track of (a stack of sets, of file names, of) the paths
189-
// that are visited during the current rescan (one frame for each nested
190-
// subdirectory), to approximate `DELETED` events that happened since
191-
// the previous rescan. Instances of this class are supposed to be used
192-
// non-concurrently, so no synchronization to access this field is
193-
// needed.
188+
// Field to keep track of (a stack of) the paths that are visited during
189+
// the current rescan (one frame for each nested subdirectory), to
190+
// approximate `DELETED` events that happened since the previous rescan.
191+
// Instances of this class are supposed to be used non-concurrently, so
192+
// no synchronization to access this field is needed.
194193
private final Deque<Set<Path>> visited = new ArrayDeque<>();
195194

196195
public Generator(Path path, WatchScope scope) {

0 commit comments

Comments
 (0)