mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
IJPL-174027: more accurate logging
(cherry picked from commit 095dda3c4f916d8738880dfcf5d2ba0c51ad558b) IJ-CR-152316 GitOrigin-RevId: 06f03a4a514385f18c33fbb96f885f20263ca9b0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
72bbf8c3bd
commit
7bec186e06
@@ -51,7 +51,7 @@ final class StubCumulativeInputDiffBuilder extends DirectInputDataDiffBuilder<In
|
||||
LOG.info((dryRun ? "[dry run]" : "") + "equal trees: inputId=" + myInputId +
|
||||
",myTreeLen=" + myCurrentTree.myTreeByteLength +
|
||||
",myStubLen=" + myCurrentTree.myIndexedStubByteLength +
|
||||
",newTreeLen=" + newSerializedStubTree.myIndexedStubByteLength +
|
||||
",newTreeLen=" + newSerializedStubTree.myTreeByteLength +
|
||||
",newStubLen=" + newSerializedStubTree.myIndexedStubByteLength);
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -183,6 +183,8 @@ final class StubTreeLoaderImpl extends StubTreeLoader {
|
||||
message += " (this)";
|
||||
}
|
||||
message += " shouldBeIndexed=" + IndexableFilesIndex.getInstance(project).shouldBeIndexed(vFile);
|
||||
// Should return the same as above. Why do we need two different API?
|
||||
message += " shouldBeIndexed2=" + ((FileBasedIndexImpl)FileBasedIndex.getInstance()).belongsToProjectIndexableFiles(vFile, project);
|
||||
message += "\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user