mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
logging cleanup
This commit is contained in:
@@ -509,10 +509,12 @@ public class StubIndexImpl extends StubIndex implements ApplicationComponent, Pe
|
||||
indicesToDrop.remove(key.toString());
|
||||
}
|
||||
|
||||
LOG.info("Dropping indices:" + StringUtil.join(indicesToDrop, ","));
|
||||
if (!indicesToDrop.isEmpty()) {
|
||||
LOG.info("Dropping indices:" + StringUtil.join(indicesToDrop, ","));
|
||||
|
||||
for (String s : indicesToDrop) {
|
||||
FileUtil.delete(IndexInfrastructure.getIndexRootDir(StubIndexKey.createIndexKey(s)));
|
||||
for (String s : indicesToDrop) {
|
||||
FileUtil.delete(IndexInfrastructure.getIndexRootDir(StubIndexKey.createIndexKey(s)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -442,9 +442,11 @@ public class FileBasedIndexImpl extends FileBasedIndex {
|
||||
for (ID<?, ?> key : ids) {
|
||||
indicesToDrop.remove(key.toString());
|
||||
}
|
||||
LOG.info("Dropping indices:" + StringUtil.join(indicesToDrop, ","));
|
||||
for (String s : indicesToDrop) {
|
||||
FileUtil.deleteWithRenaming(IndexInfrastructure.getIndexRootDir(ID.create(s)));
|
||||
if (!indicesToDrop.isEmpty()) {
|
||||
LOG.info("Dropping indices:" + StringUtil.join(indicesToDrop, ","));
|
||||
for (String s : indicesToDrop) {
|
||||
FileUtil.deleteWithRenaming(IndexInfrastructure.getIndexRootDir(ID.create(s)));
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user