mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't show useless system error message when unresolved relative URL is clicked at in Quick Doc
This commit is contained in:
+4
-4
@@ -954,13 +954,13 @@ public class DocumentationManager extends DockablePopupManager<DocumentationComp
|
||||
BrowserUtil.browse(url1);
|
||||
return "";
|
||||
}
|
||||
else if (url.startsWith("..")) {
|
||||
return CodeInsightBundle.message("javadoc.error.resolving.url", url);
|
||||
}
|
||||
else {
|
||||
else if (BrowserUtil.isAbsoluteURL(url)) {
|
||||
BrowserUtil.browse(url);
|
||||
return "";
|
||||
}
|
||||
else {
|
||||
return CodeInsightBundle.message("javadoc.error.resolving.url", url);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user