mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[workspace model] add fileNameId property to toString for FileInDirectory class
This is needed to have different representation for entity sources of different libraries (IDEA-265327). GitOrigin-RevId: 935314e28db4bad1f809993d3c897a46936c3189
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3bd3d80794
commit
dcf32052d0
@@ -75,6 +75,10 @@ sealed class JpsFileEntitySource : EntitySource {
|
||||
override fun hashCode(): Int {
|
||||
return directory.hashCode() * 31 * 31 + projectLocation.hashCode() * 31 + fileNameId
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "FileInDirectory(directory=$directory, fileNameId=$fileNameId, projectLocation=$projectLocation)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user