[jdom-commits] CVS Update: jdom/src/java/org/jdom

nobody nobody at chimbo.servlets.com
Wed Apr 30 15:00:12 PDT 2003


****************************************
Date:   Wed Apr 30, 2003 @16:00:12 MDT
Author: 

Update of /home/cvs/jdom/src/java/org/jdom
In directory chimbo:/tmp/cvs-serv17921

Modified Files:
Element.java
Log Message:
Patch from Laurent:

I recently needed to sub-class Element, overwriting many methods. I realized
that several overloaded methods (getAttribute, getAttributeValue,
removeAttribute), instead of calling one another, duplicate the actual code.
The attached diff fixes this so that one needs to overwrite just one method
per "set of methods".

-jh-
===================================================================
File: no file Element.java		Status: Needs Checkout

   Working revision:	1.133	Wed Apr 30 22:00:12 2003
   Repository revision:	1.133	/home/cvs/jdom/src/java/org/jdom/Element.java,v

   Existing Tags:
	jdom_1_0_b9              	(revision: 1.130)
	jdom_1_0_b8              	(revision: 1.115)
	jdom_prefilter           	(revision: 1.102)
	jdom_1_0_b7              	(revision: 1.96)
	jdom_1_0_b6              	(revision: 1.52)
	start                    	(revision: 1.1.1.1)
	jdom                     	(branch: 1.1.1)




More information about the jdom-commits mailing list