mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Use set to ensure that resource list is distinct, step 1
(cherry picked from commit 295f8ced5d72ba88526e4d1ff0acb62d9e245045) (cherry picked from commit 245ad18c1fdf87c182f6e6beb45b9805662b0000) IJ-MR-166587 GitOrigin-RevId: 05e5577e758d7eb19a7435071da16d370aa3f189
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a1b59f953b
commit
92497089c4
@@ -40,9 +40,9 @@ class HelpSearch {
|
||||
|
||||
if (indexDir != null)
|
||||
try {
|
||||
val indexDirPath = indexDir.toAbsolutePath().toString()
|
||||
|
||||
resources.forEach { resource ->
|
||||
val indexDirPath = indexDir.toAbsolutePath().toString()
|
||||
ResourceUtil.getResourceAsStream(HelpSearch::class.java.classLoader,
|
||||
"search",
|
||||
resource).use { resourceStream ->
|
||||
|
||||
Reference in New Issue
Block a user