Details
Description
Both of these are valid and are equivalent in Java:
1) public String[] getStuff() {
2) public String getStuff()[] {
QDox does not support the second approach, which prevents it from parsing many of the classes in the standard JDK.
For example java.io.ByteArrayOutputStream.toByteArray():
Parser.yyerror: com.thoughtworks.qdox.parser.ParseException: syntax
error @[135,43] in UNKNOWN SOURCE
com.thoughtworks.qdox.parser.ParseException: syntax error @[135,43] in
UNKNOWN SOURCE
at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:504)
at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:610)
at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:488)
at
com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:296)
at
com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:288)
Activity
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |