Export to GitHub

doclava - issue #3

Nested {} not supported in @code tag


Posted on Aug 25, 2010 by Quick Wombat

What steps will reproduce the problem? 1. Add a comment with a tag: {@code hello {world}!}

What is the expected output? What do you see instead? <code>hello {world}!}</code> vs. <code>hello {world</code>!}

Comment #1

Posted on Oct 5, 2010 by Massive Bear

Another bug on {} matching is in Guice's TypeLiteral: TypeLiteral> mapType = new TypeLiteral>() {; TypeLiteral keySetType = mapType.getReturnType(Map.class.getMethod("keySet")); System.out.println(keySetType); // prints "Set"}

http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/TypeLiteral.html

Status: Accepted

Labels:
Type-Defect Priority-Medium