mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
no condition if only browser passed — it id better default for current and new usages
No need to restrict users.
This commit is contained in:
@@ -41,7 +41,7 @@ public final class OpenUrlHyperlinkInfo implements HyperlinkWithPopupMenuInfo {
|
||||
}
|
||||
|
||||
public OpenUrlHyperlinkInfo(@NotNull String url, @Nullable WebBrowser browser) {
|
||||
this(url, browser == null ? Conditions.alwaysTrue() : Conditions.is(browser), browser);
|
||||
this(url, Conditions.alwaysTrue(), browser);
|
||||
}
|
||||
|
||||
public OpenUrlHyperlinkInfo(@NotNull String url, @NotNull Condition<WebBrowser> browserCondition) {
|
||||
|
||||
Reference in New Issue
Block a user