From 72d2f1d99509b4aa7475a32e1634e3ca5983eb7b Mon Sep 17 00:00:00 2001 From: Gravit Date: Sun, 3 Mar 2019 18:14:22 +0700 Subject: [PATCH] =?UTF-8?q?[ANY]=20=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=20=D0=B2=D1=8B?= =?UTF-8?q?=D0=B2=D0=BE=D0=BB=D0=B0=20=D0=BB=D0=BE=D0=B3=D0=BE=D0=B2=20Dir?= =?UTF-8?q?Watcher=20=D0=BB=D1=8F=20=D0=BE=D1=82=D0=BB=D0=B0=D0=B4=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/ru/gravit/launcher/hasher/DirWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libLauncher/src/main/java/ru/gravit/launcher/hasher/DirWatcher.java b/libLauncher/src/main/java/ru/gravit/launcher/hasher/DirWatcher.java index e4353e75..582c4ff2 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/hasher/DirWatcher.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/hasher/DirWatcher.java @@ -121,8 +121,8 @@ private void processKey(WatchKey key) throws IOException { // Resolve paths and verify is not exclusion Path path = watchDir.resolve((Path) event.context()); - LogHelper.debug("DirWatcher event %s", path.toString()); Deque stringPath = toPath(dir.relativize(path)); + LogHelper.debug("DirWatcher event %s", String.join("/", stringPath)); if (matcher != null && !matcher.shouldVerify(stringPath)) continue; // Exclusion; should not be verified