aboutsummaryrefslogtreecommitdiff
path: root/Week12 Find File/src/com/camilstaps/findfile/FileFinder.java
diff options
context:
space:
mode:
authorCamil Staps2015-05-12 13:25:33 +0200
committerCamil Staps2015-05-12 13:25:33 +0200
commitcf4c5fb74c5c5209ee5ec42188f400f2ec01b309 (patch)
treec77b1ceefc77d819d79ea92ae417978866ded93f /Week12 Find File/src/com/camilstaps/findfile/FileFinder.java
parentComments & javadoc (diff)
Performance improvement
Diffstat (limited to 'Week12 Find File/src/com/camilstaps/findfile/FileFinder.java')
-rw-r--r--Week12 Find File/src/com/camilstaps/findfile/FileFinder.java3
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) {}
}
}
}