Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.5
-
None
Description
I'm getting errors like
com.thoughtworks.qdox.parser.ParseException: syntax error @[722,51]
on lines of code that look like
private static final Map<String, String> things = ImmutableMap.<String, String>builder().build();
If I create the builder on one line and invoke build - or any other method on the returned builder - on another line, qdox if fine. But if I try to do an invocation on the returned object, it breaks. In general, it seems to be a problem when specifying type on a method and then invoking a method on the returned value.
I tried updating qdox to 1.9.1 with
<build> <plugins> <plugin> <artifactId>maven-plugin-plugin</artifactId> <version>2.5</version> <dependencies> <dependency> <groupId>com.thoughtworks.qdox</groupId> <artifactId>qdox</artifactId> <version>1.9.1</version> </dependency> </dependencies> </plugin> </plugins> </build>
but that didn't fix it.