mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IllegalArgumentException fixed (EA-74605)
This commit is contained in:
@@ -129,7 +129,8 @@ public abstract class PluginManagerMain implements Disposable {
|
||||
return isDevelopedByJetBrains(plugin.getVendor());
|
||||
}
|
||||
|
||||
public static boolean isDevelopedByJetBrains(String vendorString) {
|
||||
public static boolean isDevelopedByJetBrains(@Nullable String vendorString) {
|
||||
if (vendorString == null) return false;
|
||||
for (String vendor : StringUtil.split(vendorString, ",")) {
|
||||
if (vendor.trim().equals(JETBRAINS_VENDOR)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user