Details
-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.4
-
Fix Version/s: 1.5
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Using the latest 1.4 snapshot:
The method that parses a Javadoc tag up into named parameters uses a StringTokenizer to do the work. This causes an unnatural formatting restriction on the developers part.
@hibernate.class table = "Users"
The extra space around the '=' character causes the tokenizer to see three individual parameters for this tag instead of one. It sees no named parameters.
I don't believe named parameters are part of the Javadoc spec, but they are used a lot; particularly in nearly every XDoclet subtask. XDoclet does not consider whitespace around the equals sign to be a factor when determining named parameters.
Activity
Aslak Hellesøy
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.5 [ 10650 ] |
Mike Williams
made changes -
Assignee | Mike Williams [ mdub ] |
Mike Williams
made changes -
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Mike Williams
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Aslak, we should probably maintain compat with xjavadoc, right? Can you easily sync up the name-parameter parsing code?