Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.3
-
Component/s: XML code generator
-
Labels:None
-
Environment:does it matter?
Description
The default castorbuilder properties file as contained in the codegen jar uses incoherent style of documenting a default value and actually setting a default value. Following styles are used:
-
- blah blah
- default value is "x"
- blah=y
(showing the alternative, not setting a default explicitely)
-
- blah blah
- default value is "x"
blah=y
(comment out of date)
-
- blah blah
- default value is "x"
blah=x
(explicitely setting the default value)
Wish: use coherent style. Suggest using "default value as documented in comment equals explicitely set property" throughout.
Grr. Hit create too early.
a) applies to xml code generator part of castor
b) those numbered lists up there were supposed to be '#'s indicating comments in the properties file. So in your mind replace all "[123]. " with "#" when reading the above.