Merge branch 'stable-2.14' into stable-2.15
* stable-2.14: LuceneVersionManager: Fix log error messages Change-Id: I2e380e5451bd8e28d456edb852442ecd93431733
This commit is contained in:
commit
832d13a87b
@ -78,7 +78,7 @@ public class LuceneVersionManager extends VersionManager {
|
|||||||
Path p = getDir(sitePaths, def.getName(), schema);
|
Path p = getDir(sitePaths, def.getName(), schema);
|
||||||
boolean isDir = Files.isDirectory(p);
|
boolean isDir = Files.isDirectory(p);
|
||||||
if (Files.exists(p) && !isDir) {
|
if (Files.exists(p) && !isDir) {
|
||||||
log.warn("Not a directory: %s", p.toAbsolutePath());
|
log.warn("Not a directory: {}", p.toAbsolutePath());
|
||||||
}
|
}
|
||||||
int v = schema.getVersion();
|
int v = schema.getVersion();
|
||||||
versions.put(v, new Version<>(schema, v, isDir, cfg.getReady(def.getName(), v)));
|
versions.put(v, new Version<>(schema, v, isDir, cfg.getReady(def.getName(), v)));
|
||||||
|
Loading…
Reference in New Issue
Block a user