diff options
-rw-r--r-- | Week12 Find File/src/com/camilstaps/findfile/FileFinder.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Week12 Find File/src/com/camilstaps/findfile/FileFinder.java b/Week12 Find File/src/com/camilstaps/findfile/FileFinder.java index 97726d2..be67139 100644 --- a/Week12 Find File/src/com/camilstaps/findfile/FileFinder.java +++ b/Week12 Find File/src/com/camilstaps/findfile/FileFinder.java @@ -72,8 +72,7 @@ public class FileFinder implements Runnable { try { Thread t = new Thread(new FileFinder(file.getAbsolutePath(), search)); t.start(); - t.join(); - } catch (IOException | InterruptedException ex) {} + } catch (IOException ex) {} } } } |