mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 04:16:19 +00:00
[config] Don't access the file system every call.
This commit is contained in:
1 parent
3415ff0f47
commit
dc7d0a9188
1 file changed
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user