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:40:06 UTC
cvs commit: xml-crimson/src/org/apache/crimson/tree Doctype.java
edwingo 01/05/23 14:40:06
Modified: src/org/apache/crimson/tree Doctype.java
Log:
User request to make setOwnerDocument() protected to allow subclassing
Revision Changes Path
1.3 +3 -5 xml-crimson/src/org/apache/crimson/tree/Doctype.java
Index: Doctype.java
===================================================================
RCS file: /home/cvs/xml-crimson/src/org/apache/crimson/tree/Doctype.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Doctype.java 2001/01/24 03:43:19 1.2
+++ Doctype.java 2001/05/23 21:40:04 1.3
@@ -1,5 +1,5 @@
/*
- * $Id: Doctype.java,v 1.2 2001/01/24 03:43:19 edwingo Exp $
+ * $Id: Doctype.java,v 1.3 2001/05/23 21:40:04 edwingo Exp $
*
* The Apache Software License, Version 1.1
*
@@ -76,7 +76,7 @@
* for editor support, and is of dubious interest otherwise.
*
* @author David Brownell
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
final class Doctype extends NodeBase implements DocumentType
{
@@ -215,9 +215,7 @@
return internalSubset;
}
- // package private
- void setOwnerDocument (XmlDocument doc)
- {
+ protected void setOwnerDocument(XmlDocument doc) {
super.setOwnerDocument (doc);
if (entities != null)
for (int i = 0; entities.item (i) != null; i++)
---------------------------------------------------------------------
To unsubscribe, e-mail: crimson-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: crimson-cvs-help@xml.apache.org