String (@NotNull UnindexedFilesIndexer otherIndexingTask) { String trimmedReason = StringUtil.trimStart(indexingReason, "Merged "); String trimmedOtherReason = StringUtil.trimStart(otherIndexingTask.indexingReason, "Merged "); if (otherIndexingTask.providerToFiles.isEmpty() && trimmedReason.endsWith(trimmedOtherReason)) { return indexingReason; } else { return "Merged " + trimmedReason + " with " + trimmedOtherReason; } }