Return-Path: Delivered-To: apmail-ws-commons-dev-archive@locus.apache.org Received: (qmail 63551 invoked from network); 3 Apr 2006 11:09:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Apr 2006 11:09:14 -0000 Received: (qmail 38162 invoked by uid 500); 3 Apr 2006 11:09:14 -0000 Delivered-To: apmail-ws-commons-dev-archive@ws.apache.org Received: (qmail 38144 invoked by uid 500); 3 Apr 2006 11:09:14 -0000 Mailing-List: contact commons-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: commons-dev@ws.apache.org Delivered-To: mailing list commons-dev@ws.apache.org Received: (qmail 38134 invoked by uid 99); 3 Apr 2006 11:09:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 04:09:14 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 03 Apr 2006 04:09:13 -0700 Received: (qmail 63301 invoked by uid 65534); 3 Apr 2006 11:08:48 -0000 Message-ID: <20060403110848.63232.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commons-dev@ws.apache.org From: dims@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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; } }