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