mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] OSFileAssociationPreferences.contains simplified
GitOrigin-RevId: c49fd93001fd575ac81dc450c100d0bc252d70d2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
41b2c21759
commit
df02b97035
+1
-2
@@ -63,7 +63,6 @@ public final class OSFileAssociationPreferences implements PersistentStateCompon
|
||||
}
|
||||
|
||||
public boolean contains(@NotNull FileType fileType) {
|
||||
//noinspection SSBasedInspection
|
||||
return fileTypeNames.stream().anyMatch(name->name.equals(fileType.getName()));
|
||||
return fileTypeNames.contains(fileType.getName());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user