You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2001/02/01 18:15:21 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/dom DocumentImpl.java
elena 01/02/01 09:15:21
Modified: java/src/org/apache/xerces/dom DocumentImpl.java
Log:
Actually we don't need to synchronize anything at this point...
Revision Changes Path
1.47 +5 -16 xml-xerces/java/src/org/apache/xerces/dom/DocumentImpl.java
Index: DocumentImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/dom/DocumentImpl.java,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- DocumentImpl.java 2001/02/01 16:04:39 1.46
+++ DocumentImpl.java 2001/02/01 17:15:19 1.47
@@ -572,7 +572,7 @@
if (needsSyncChildren()) {
synchronizeChildren();
}
- return docType;
+ return docType;
}
@@ -581,11 +581,7 @@
* The encoding of this document (part of XML Declaration)
*/
public String getEncoding() {
- if (needsSyncChildren()) {
- synchronizeChildren();
- }
- return encoding;
-
+ return encoding;
}
/**
@@ -593,22 +589,15 @@
* The version of this document (part of XML Declaration)
*/
public String getVersion() {
- if (needsSyncChildren()) {
- synchronizeChildren();
- }
- return version;
-
+ return version;
}
+
/**
* DOM Level 3 WD - Experimental.
* standalone that specifies whether this document is standalone (part of XML Declaration)
*/
public boolean getStandalone() {
- if (needsSyncChildren()) {
- synchronizeChildren();
- }
- return standalone;
-
+ return standalone;
}