junichi11 commented on a change in pull request #2424:
URL: https://github.com/apache/netbeans/pull/2424#discussion_r544193382
##########
File path:
webcommon/javascript2.editor/src/org/netbeans/modules/javascript2/editor/hints/ErrorCheckingSupport.java
##########
@@ -86,42 +84,27 @@ public static void
setErrorCheckingEnabledForMimetype(String mimeType, boolean e
}
}
- public static String getMimeType(Parser.Result result) {
- SyntaxAnalyzerResult syntax = getSyntaxAnalyzerResult(result);
- if (syntax != null) {
- return Utils.getWebPageMimeType(syntax);
+ public static String getMimeType(Parser.Result info) {
Review comment:
@sdedic Could you please have a look at
https://issues.apache.org/jira/browse/NETBEANS-5155
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists