mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
pass browser ((@NotNull String url, @Nullable final WebBrowser browser)) to ensure that it will be used to open url
This commit is contained in:
@@ -40,8 +40,8 @@ public final class OpenUrlHyperlinkInfo implements HyperlinkWithPopupMenuInfo {
|
||||
this(url, Conditions.alwaysTrue(), null);
|
||||
}
|
||||
|
||||
public OpenUrlHyperlinkInfo(@NotNull String url, @Nullable final WebBrowser browser) {
|
||||
this(url, browser == null ? Conditions.alwaysTrue() : Conditions.is(browser));
|
||||
public OpenUrlHyperlinkInfo(@NotNull String url, @Nullable WebBrowser browser) {
|
||||
this(url, browser == null ? Conditions.alwaysTrue() : Conditions.is(browser), browser);
|
||||
}
|
||||
|
||||
public OpenUrlHyperlinkInfo(@NotNull String url, @NotNull Condition<WebBrowser> browserCondition) {
|
||||
|
||||
Reference in New Issue
Block a user