[jdom-interest] Attribute constructor JavaDoc path
Jason Hunter
jhunter at servlets.com
Wed May 15 17:00:56 PDT 2002
I like it, and I've committed it. Please do continue!
-jh-
Elliotte Rusty Harold wrote:
>
> The attached patch adds better JavaDoc @throws comments for the
> constructors in the Attribute class that throw runtime exceptions. It
> syncs them up with the setter methods they call. I did not add throws
> clauses for these exceptions since consensus seemed to be against using
> throws from runtime exceptions as per Bloch, Effective Java. This patch
> should only change the comments. It should have no effect on the actual
> code.
>
> If this works and you like it, I can send similar patches for the other
> org.jdom classes.
>
> --
> +-----------------------+------------------------+-------------------+
> | Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
> +-----------------------+------------------------+-------------------+
> | The XML Bible, 2nd Edition (IDG Books, 2001) |
> | http://www.cafeconleche.org/books/bible2/ |
> | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ |
> +----------------------------------+---------------------------------+
> | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
> | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
> +----------------------------------+---------------------------------+
>
> ------------------------------------------------------------------------
> Name: AttributePatch.txt
> AttributePatch.txt Type: Plain Text (text/plain)
> Encoding: 7bit
More information about the jdom-interest
mailing list