diff options
author | Roel Spilker <r.spilker@gmail.com> | 2014-09-09 21:26:54 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2014-09-09 21:26:54 +0200 |
commit | dc7d0a9188436e6cae2222cbf01ca0be95583770 (patch) | |
tree | ba3be2774547b714c41af2c658623533e49514c9 /src/core | |
parent | 3415ff0f473affdc5e7de2015bde880ff0468afa (diff) | |
download | lombok-dc7d0a9188436e6cae2222cbf01ca0be95583770.tar.gz lombok-dc7d0a9188436e6cae2222cbf01ca0be95583770.tar.bz2 lombok-dc7d0a9188436e6cae2222cbf01ca0be95583770.zip |
[config] Don't access the file system every call.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lombok/core/configuration/FileSystemSourceCache.java | 1 |
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); |