WatchService Code Edit for JDK7