monitorPath(adaptersFolder); monitorPath(nbUserModulesPath); File[] jars = nbUserModulesPath.toFile().listFiles(pathname -> pathname.getName().toLowerCase().endsWith("jar")); if (jars != null) {
AdapterWatcher.INSTANCE.monitorPath(path); } catch (IOException e) { logger.warning(String.format("Could not watch for the new adapter path %s [%s]", path.toString(), e.getMessage()));