From cf4c5fb74c5c5209ee5ec42188f400f2ec01b309 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 12 May 2015 13:25:33 +0200 Subject: Performance improvement --- Week12 Find File/src/com/camilstaps/findfile/FileFinder.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Week12 Find File/src/com') 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) {} } } } -- cgit v1.2.3