diff --git a/platform/core-impl/src/com/intellij/util/indexing/FileContentImpl.java b/platform/core-impl/src/com/intellij/util/indexing/FileContentImpl.java index 5d7ff9a8dd46..f968aeef12ec 100644 --- a/platform/core-impl/src/com/intellij/util/indexing/FileContentImpl.java +++ b/platform/core-impl/src/com/intellij/util/indexing/FileContentImpl.java @@ -212,7 +212,7 @@ public class FileContentImpl extends IndexedFileImpl implements PsiDependentFile @Override public String toString() { - return myFileName; + return "FileContentImpl(" + getFileName() + ")"; } public byte @Nullable [] getHash() { diff --git a/platform/core-impl/src/com/intellij/util/indexing/IndexedFileImpl.java b/platform/core-impl/src/com/intellij/util/indexing/IndexedFileImpl.java index 22e5ae41784d..ac429b9001c2 100644 --- a/platform/core-impl/src/com/intellij/util/indexing/IndexedFileImpl.java +++ b/platform/core-impl/src/com/intellij/util/indexing/IndexedFileImpl.java @@ -56,4 +56,9 @@ public class IndexedFileImpl extends UserDataHolderBase implements IndexedFile { public void setProject(@NotNull Project project) { myProject = project; } + + @Override + public String toString() { + return "IndexedFileImpl(" + getFileName() + ")"; + } }