You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/04/19 04:43:28 UTC

[GitHub] [netbeans] Rahul-khandelwal commented on a change in pull request #2080: NETBEANS-4176-Unescape javadoc title after parsing

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 &amp; 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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists