From dc7d0a9188436e6cae2222cbf01ca0be95583770 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 9 Sep 2014 21:26:54 +0200 Subject: [config] Don't access the file system every call. --- src/core/lombok/core/configuration/FileSystemSourceCache.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/core/lombok/core/configuration/FileSystemSourceCache.java b/src/core/lombok/core/configuration/FileSystemSourceCache.java index c59c397c..54e5369f 100644 --- a/src/core/lombok/core/configuration/FileSystemSourceCache.java +++ b/src/core/lombok/core/configuration/FileSystemSourceCache.java @@ -122,7 +122,6 @@ public class FileSystemSourceCache { } ConfigurationSource getSourceForDirectory(File directory, ConfigurationProblemReporter reporter) { - if (!directory.exists() || !directory.isDirectory()) throw new IllegalArgumentException("Not a directory: " + directory); long now = System.currentTimeMillis(); File configFile = new File(directory, LOMBOK_CONFIG_FILENAME); -- cgit