mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
(JBR-8965) PluginPathManager: roll back the unnecessary exists() check before isDirectory()
And do it in the correct place now! GitOrigin-RevId: bedca81992a5f0029eac848731b046a47386d684
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f367baf2d6
commit
18f7a1fc14
@@ -74,7 +74,7 @@ public final class PluginPathManager {
|
||||
private static File findSubRepo(String pluginName) {
|
||||
for (File subRepo : SubRepoHolder.subRepos) {
|
||||
File candidate = new File(subRepo, pluginName);
|
||||
if (candidate.exists() && candidate.isDirectory()) {
|
||||
if (candidate.isDirectory()) {
|
||||
return candidate;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user