From cdb25dd2ac7065b5211364730e5bb03b435a3358 Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Tue, 13 Nov 2018 15:24:29 -0500 Subject: Adding comments --- src/main/java/soundchan/BotListener/MediaWatcher.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/soundchan') diff --git a/src/main/java/soundchan/BotListener/MediaWatcher.java b/src/main/java/soundchan/BotListener/MediaWatcher.java index 3e58d3f..80a0c83 100644 --- a/src/main/java/soundchan/BotListener/MediaWatcher.java +++ b/src/main/java/soundchan/BotListener/MediaWatcher.java @@ -53,6 +53,7 @@ public class MediaWatcher implements Runnable { /** * Sets up watch service for the file/directory * @param filepath Path to file or directory to be scanned + * @param watchSubDirs Also watch any subdirectories in the given directory (doesn't do anything if watching a file) */ private void startWatchService(String filepath, boolean watchSubDirs) { File mediaFile = new File(filepath); -- cgit v1.2.3