TylerDelRosario commented on code in PR #8500: URL: https://github.com/apache/netbeans/pull/8500#discussion_r2121946455
########## java/java.editor/test/unit/src/org/netbeans/modules/editor/java/JavaBracesMatcherTest.java: ########## @@ -49,6 +49,13 @@ public void testMultilineStringBrackets() throws Exception { + "^)\n" + "\"\"\""); } + + public void testAngleBrackets() throws Exception { + assertMatches2("^<test^>"); + assertMatches2("Map^<Class<? extends AbstractStudent>, Map<CourseTime, List<? extends AbstractCourse>>^>"); + assertMatches2("Map<Class<? extends AbstractStudent>, Map^<CourseTime, List<? extends AbstractCourse>^>>"); + assertMatches2("Map x = new HashMap<String, List^<String^>>()"); + } Review Comment: Yeah, there needs to be some way to differentiate generic brackets from comparison/operator brackets. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists