diff options
author | Camil Staps | 2015-05-12 13:25:33 +0200 |
---|---|---|
committer | Camil Staps | 2015-05-12 13:25:33 +0200 |
commit | cf4c5fb74c5c5209ee5ec42188f400f2ec01b309 (patch) | |
tree | c77b1ceefc77d819d79ea92ae417978866ded93f /Week12 Find File/src/com | |
parent | Comments & javadoc (diff) |
Performance improvement
Diffstat (limited to 'Week12 Find File/src/com')
-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) {} } } } |