Rahul-khandelwal commented on a change in pull request #2080:
NETBEANS-4176-Unescape javadoc title after parsing
URL: https://github.com/apache/netbeans/pull/2080#discussion_r410813987
##########
File path:
java/javadoc/test/unit/src/org/netbeans/modules/javadoc/search/IndexBuilderTest.java
##########
@@ -137,6 +137,19 @@ public void testMissingTitle() throws Exception {
is.close();
}
}
+
+ public void testEscapedHtmlTitle() throws Exception {
+ String content = "<HTML><HEAD><TITLE>Overview (Java SE 11 & JDK 11
)</TITLE></HEAD></HTML>";
+ InputStream is = new ByteArrayInputStream(content.getBytes());
+ SimpleTitleParser tp = new SimpleTitleParser(is);
+ try {
Review comment:
@matthiasblaesing SImpleTitleParser doesn't implement AutoClosable
interface. Should I make that change?
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
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