vdkoogh 2003/11/20 00:54:23
Modified: src/org/apache/xml/security/signature XMLSignature.java
Log:
Removed unused local variable children and organised imports
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.36 +1 -4
xml-security/src/org/apache/xml/security/signature/XMLSignature.java
Index: XMLSignature.java
===================================================================
RCS file:
/home/cvs/xml-security/src/org/apache/xml/security/signature/XMLSignature.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- XMLSignature.java 29 Apr 2003 21:36:55 -0000 1.35
+++ XMLSignature.java 20 Nov 2003 08:54:23 -0000 1.36
@@ -89,7 +89,6 @@
import org.apache.xpath.XPathAPI;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
-import org.w3c.dom.NodeList;
import org.w3c.dom.Text;
@@ -396,8 +395,6 @@
Element signatureValueElem = this.getChildElementLocalName(0,
Constants.SignatureSpecNS,
Constants._TAG_SIGNATUREVALUE);
- NodeList children = signatureValueElem.getChildNodes();
-
while (signatureValueElem.hasChildNodes()) {
signatureValueElem.removeChild(signatureValueElem.getFirstChild());
}