Skip to content

Commit a76a4a4

Browse files
committed
Debug indexingRescanOnOverflow test
1 parent eaa83ef commit a76a4a4

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public class IndexingRescanner extends MemorylessRescanner {
5252
public IndexingRescanner(Executor exec, Path path, WatchScope scope) {
5353
super(exec);
5454
new Indexer(path, scope).walkFileTree(); // Make an initial scan to populate the index
55-
System.out.println("Initial scan done");
5655
}
5756

5857
private class Indexer extends BaseFileVisitor {
@@ -79,7 +78,6 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IO
7978

8079
@Override
8180
protected MemorylessRescanner.Generator newGenerator(Path path, WatchScope scope) {
82-
System.out.println("Creating generator");
8381
return new Generator(path, scope);
8482
}
8583

src/test/java/engineering/swat/watch/SingleDirectoryTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ public void execute(Runnable command) {
232232
try (var watch = watchConfig.start()) {
233233
// At this point, the index of last-modified-times inside `watch` is
234234
// populated with initial values.
235-
System.out.println("Performing IO...");
236235

237236
Files.writeString(directory.resolve("a.txt"), "foo");
238237
Files.writeString(directory.resolve("b.txt"), "bar");

0 commit comments

Comments
 (0)