k4zy / doclava

Automatically exported from code.google.com/p/doclava
Apache License 2.0
0 stars 0 forks source link

Nested {} not supported in @code tag #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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>!}

Original issue reported on code.google.com by bjdod...@google.com on 25 Aug 2010 at 10:22

GoogleCodeExporter commented 8 years ago
Another bug on {} matching is in Guice's TypeLiteral:
   TypeLiteral<Map<Integer, String>> mapType
       = new TypeLiteral<Map<Integer, String>>() {;
   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/TypeLiter
al.html

Original comment by limpbizkit on 5 Oct 2010 at 3:16