You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by vd...@apache.org on 2003/11/20 09:59:26 UTC

cvs commit: xml-security/src/org/apache/xml/security/transforms/params XPathFilterCHGPContainer.java

vdkoogh     2003/11/20 00:59:26

  Modified:    src/org/apache/xml/security/transforms/params
                        XPathFilterCHGPContainer.java
  Log:
  Was calling static methods on a subclass of the class that was used.
  This works in Sun JVMs, but is not a requirement in the JLS
  
  
  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.9       +4 -4      xml-security/src/org/apache/xml/security/transforms/params/XPathFilterCHGPContainer.java
  
  Index: XPathFilterCHGPContainer.java
  ===================================================================
  RCS file: /home/cvs/xml-security/src/org/apache/xml/security/transforms/params/XPathFilterCHGPContainer.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XPathFilterCHGPContainer.java	11 Feb 2003 16:02:53 -0000	1.8
  +++ XPathFilterCHGPContainer.java	20 Nov 2003 08:59:26 -0000	1.9
  @@ -136,7 +136,7 @@
         if ((includeButSearch != null)
                 && (includeButSearch.trim().length() > 0)) {
            Element includeButSearchElem =
  -            XPathFilterCHGPContainer.createElementForFamily(doc, this.getBaseNamespace(),
  +            ElementProxy.createElementForFamily(doc, this.getBaseNamespace(),
                                           XPathFilterCHGPContainer
                                              ._TAG_INCLUDE_BUT_SEARCH);
   
  @@ -150,7 +150,7 @@
         if ((excludeButSearch != null)
                 && (excludeButSearch.trim().length() > 0)) {
            Element excludeButSearchElem =
  -         XPathFilterCHGPContainer.createElementForFamily(doc, this.getBaseNamespace(),
  +         ElementProxy.createElementForFamily(doc, this.getBaseNamespace(),
                                           XPathFilterCHGPContainer
                                              ._TAG_EXCLUDE_BUT_SEARCH);
   
  @@ -162,7 +162,7 @@
         }
   
         if ((exclude != null) && (exclude.trim().length() > 0)) {
  -         Element excludeElem = XPathFilterCHGPContainer.createElementForFamily(doc,
  +         Element excludeElem = ElementProxy.createElementForFamily(doc,
                                     this.getBaseNamespace(),
                                     XPathFilterCHGPContainer._TAG_EXCLUDE);