ws-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r391000 - in /webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om: OMNamespace.java impl/dom/NamespaceImpl.java impl/llom/OMNamespaceImpl.java xpath/DocumentNavigator.java
Date Mon, 03 Apr 2006 11:08:33 GMT
Author: dims
Date: Mon Apr  3 04:08:30 2006
New Revision: 391000

URL: http://svn.apache.org/viewcvs?rev=391000&view=rev
Log:
get rid of unused OMFactory

Modified:
    webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/OMNamespace.java
    webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/NamespaceImpl.java
    webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMNamespaceImpl.java
    webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/xpath/DocumentNavigator.java

Modified: webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/OMNamespace.java
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/OMNamespace.java?rev=391000&r1=390999&r2=391000&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/OMNamespace.java (original)
+++ webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/OMNamespace.java Mon Apr
 3 04:08:30 2006
@@ -42,10 +42,4 @@
      * @return Returns String.
      */
     public String getName();
-    
-    /**
-     * Returns the OMFactory that created this object
-     * @return
-     */
-    public OMFactory getOMFactory();
 }

Modified: webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/NamespaceImpl.java
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/NamespaceImpl.java?rev=391000&r1=390999&r2=391000&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/NamespaceImpl.java
(original)
+++ webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/dom/NamespaceImpl.java
Mon Apr  3 04:08:30 2006
@@ -63,12 +63,4 @@
     public String getName() {
         return this.nsUri;
     }
-
-    /* (non-Javadoc)
-     * @see org.apache.axiom.om.OMNamespace#getOMFactory()
-     */
-    public OMFactory getOMFactory() {
-        return this.factory;
-    }
-
 }

Modified: webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMNamespaceImpl.java
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMNamespaceImpl.java?rev=391000&r1=390999&r2=391000&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMNamespaceImpl.java
(original)
+++ webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/impl/llom/OMNamespaceImpl.java
Mon Apr  3 04:08:30 2006
@@ -75,11 +75,4 @@
     public String getName() {
         return uri;
     }
-
-    /* (non-Javadoc)
-     * @see org.apache.axiom.om.OMNamespace#getOMFactory()
-     */
-    public OMFactory getOMFactory() {
-        return this.factory;
-    }
 }

Modified: webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/xpath/DocumentNavigator.java
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/xpath/DocumentNavigator.java?rev=391000&r1=390999&r2=391000&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/xpath/DocumentNavigator.java
(original)
+++ webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/xpath/DocumentNavigator.java
Mon Apr  3 04:08:30 2006
@@ -372,8 +372,7 @@
                     String prefix = namespace.getPrefix();
                     if (prefix != null && !prefixes.contains(prefix)) {
                         prefixes.add(prefix);
-                        nsList.add(new OMNamespaceEx(namespace, context,
-                                namespace.getOMFactory()));
+                        nsList.add(new OMNamespaceEx(namespace, context));
                     }
                 }
             }
@@ -384,8 +383,7 @@
                                 "http://www.w3.org/XML/1998/namespace", 
                                 "xml", 
                                 ((OMNode)contextNode).getOMFactory()),
-                        (OMContainer) contextNode, 
-                        ((OMNode) contextNode).getOMFactory()));
+                        (OMContainer) contextNode));
         return nsList.iterator();
     }
 
@@ -677,7 +675,7 @@
         OMContainer parent = null;
         OMFactory factory = null;
 
-        OMNamespaceEx(OMNamespace nsp, OMContainer parent, OMFactory factory) {
+        OMNamespaceEx(OMNamespace nsp, OMContainer parent) {
             originalNsp = nsp;
             this.parent = parent;
             this.factory = factory;
@@ -697,10 +695,6 @@
 
         public OMContainer getParent() {
             return parent;
-        }
-
-        public OMFactory getOMFactory() {
-            return this.factory;
         }
     }
 



Mime
View raw message