-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix javadoc in 'java.configuration.runtimes' settings #1683
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. If a path has no scheme portion then we have to assume 'file'. Just a small change to make to logging, and then I think it's fine to merge.
uri = new URI(ResourceUtils.fixURI(uri)); | ||
return uri.toURL(); | ||
} catch (MalformedURLException | IllegalArgumentException | URISyntaxException e1) { | ||
JavaLanguageServerPlugin.logInfo("Invalid javadoc: " + javadoc); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think with this logInfo, it would get logged twice (there's one outside the catch as well on 149). I would just remove this one and let the one below get used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I ran the build locally and it all passed. If it's just a random failure, feel free to merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merged.
Signed-off-by: Snjezana Peco <[email protected]>
test this please |
Fixes redhat-developer/vscode-java#1813
Signed-off-by: Snjezana Peco [email protected]