aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Kohls <mattkohls13@gmail.com>2018-11-13 15:24:29 -0500
committerMatt Kohls <mattkohls13@gmail.com>2018-11-13 15:24:29 -0500
commitcdb25dd2ac7065b5211364730e5bb03b435a3358 (patch)
treed77d66f818f56c970a694a73ed057e0339628cfd
parent9cf395013daec68ad679e9ea589aaf55074743fd (diff)
downloadSoundChan-cdb25dd2ac7065b5211364730e5bb03b435a3358.tar.gz
SoundChan-cdb25dd2ac7065b5211364730e5bb03b435a3358.tar.bz2
SoundChan-cdb25dd2ac7065b5211364730e5bb03b435a3358.zip
Adding comments
-rw-r--r--src/main/java/soundchan/BotListener/MediaWatcher.java1
1 files changed, 1 insertions, 0 deletions
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);