You are viewing a plain text version of this content. The canonical link for it is here.
Posted to crimson-cvs@xml.apache.org by ed...@apache.org on 2001/05/23 23:39:46 UTC

cvs commit: xml-crimson/src/org/apache/crimson/tree NodeBase.java

edwingo     01/05/23 14:39:46

  Modified:    src/org/apache/crimson/tree NodeBase.java
  Log:
  User request to make setOwnerDocument() protected to allow subclassing
  
  Revision  Changes    Path
  1.3       +3 -4      xml-crimson/src/org/apache/crimson/tree/NodeBase.java
  
  Index: NodeBase.java
  ===================================================================
  RCS file: /home/cvs/xml-crimson/src/org/apache/crimson/tree/NodeBase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NodeBase.java	2001/02/24 03:23:46	1.2
  +++ NodeBase.java	2001/05/23 21:39:45	1.3
  @@ -1,5 +1,5 @@
   /*
  - * $Id: NodeBase.java,v 1.2 2001/02/24 03:23:46 edwingo Exp $
  + * $Id: NodeBase.java,v 1.3 2001/05/23 21:39:45 edwingo Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -74,7 +74,7 @@
    * although it is subclasses which implement that access.
    *
    * @author David Brownell
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   // not public ... javadoc looks a bit odd (hidden base class)
   // but it's only subclassable within this package anyway
  @@ -199,8 +199,7 @@
   
           
       // assigns the owner of this document
  -    void setOwnerDocument (XmlDocument doc)
  -    {
  +    protected void setOwnerDocument(XmlDocument doc) {
   	ownerDocument = doc;
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: crimson-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: crimson-cvs-help@xml.apache.org