You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2007/03/06 19:00:42 UTC

svn commit: r515231 - /xerces/java/trunk/src/org/apache/xerces/dom/RangeImpl.java

Author: mrglavas
Date: Tue Mar  6 10:00:41 2007
New Revision: 515231

URL: http://svn.apache.org/viewvc?view=rev&rev=515231
Log:
Make all of RangeImpl's fields private. Removed one unused field.

Modified:
    xerces/java/trunk/src/org/apache/xerces/dom/RangeImpl.java

Modified: xerces/java/trunk/src/org/apache/xerces/dom/RangeImpl.java
URL: http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/dom/RangeImpl.java?view=diff&rev=515231&r1=515230&r2=515231
==============================================================================
--- xerces/java/trunk/src/org/apache/xerces/dom/RangeImpl.java (original)
+++ xerces/java/trunk/src/org/apache/xerces/dom/RangeImpl.java Tue Mar  6 10:00:41 2007
@@ -46,18 +46,17 @@
     // Data
     //
     
-    DocumentImpl fDocument;
-    Node fStartContainer;
-    Node fEndContainer;
-    int fStartOffset;
-    int fEndOffset;
-    boolean fIsCollapsed;   
-    boolean fDetach = false;
-    Node fInsertNode = null;
-    Node fDeleteNode = null;
-    Node fSplitNode = null;
+    private DocumentImpl fDocument;
+    private Node fStartContainer;
+    private Node fEndContainer;
+    private int fStartOffset;
+    private int fEndOffset;   
+    private boolean fDetach = false;
+    private Node fInsertNode = null;
+    private Node fDeleteNode = null;
+    private Node fSplitNode = null;
     // Was the Node inserted from the Range or the Document
-    boolean fInsertedFromRange = false; 
+    private boolean fInsertedFromRange = false; 
     
     /** The constructor. Clients must use DocumentRange.createRange(),
      *  because it registers the Range with the document, so it can 
@@ -999,7 +998,7 @@
      *  removing this child.
      */
      
-    Node fRemoveChild = null;
+    private Node fRemoveChild = null;
     Node removeChild(Node parent, Node child) {
         fRemoveChild = child;
         Node n = parent.removeChild(child);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org