aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2014-09-09 21:26:54 +0200
committerRoel Spilker <r.spilker@gmail.com>2014-09-09 21:26:54 +0200
commitdc7d0a9188436e6cae2222cbf01ca0be95583770 (patch)
treeba3be2774547b714c41af2c658623533e49514c9
parent3415ff0f473affdc5e7de2015bde880ff0468afa (diff)
downloadlombok-dc7d0a9188436e6cae2222cbf01ca0be95583770.tar.gz
lombok-dc7d0a9188436e6cae2222cbf01ca0be95583770.tar.bz2
lombok-dc7d0a9188436e6cae2222cbf01ca0be95583770.zip
[config] Don't access the file system every call.
-rw-r--r--src/core/lombok/core/configuration/FileSystemSourceCache.java1
1 files changed, 0 insertions, 1 deletions
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);