You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by sa...@apache.org on 2009/09/01 17:15:01 UTC

svn commit: r810087 - /webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/WSDLComponentImpl.java

Author: sagara
Date: Tue Sep  1 15:15:00 2009
New Revision: 810087

URL: http://svn.apache.org/viewvc?rev=810087&view=rev
Log:
Merging Woden-209 branch. 

Modified:
    webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/WSDLComponentImpl.java

Modified: webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/WSDLComponentImpl.java
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/WSDLComponentImpl.java?rev=810087&r1=810086&r2=810087&view=diff
==============================================================================
--- webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/WSDLComponentImpl.java (original)
+++ webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/WSDLComponentImpl.java Tue Sep  1 15:15:00 2009
@@ -50,7 +50,21 @@
      * ************************************************************/
     
     /* (non-Javadoc)
+     * @see org.apache.woden.wsdl20.WSDLComponent#isEquivalentTo(WSDLComponent)
+     * 
+     * TODO implement this method in all concrete component classes and make this
+     * implementation abstract or throw UnsupportedExc.
+     */
+    public boolean isEquivalentTo(WSDLComponent comp)
+    {
+        return super.equals(comp);
+    }
+    
+    /* (non-Javadoc)
      * @see org.apache.woden.wsdl20.WSDLComponent#equals(WSDLComponent)
+     * @deprecated Use isEquivalentTo(WSDLComponent)
+
+     * TODO - deprecated. Remove. Replaced by isEquivalentTo.
      * 
      * TODO implement this method in all concrete component classes and make this
      * implementation abstract or throw UnsupportedExc.
@@ -155,7 +169,7 @@
         for(Iterator i=components.iterator(); i.hasNext(); )
         {
             WSDLComponent tempComp = (WSDLComponent)i.next();
-            if(tempComp.equals(comp)) {
+            if(tempComp.isEquivalentTo(comp)) {
                 return true;
             }
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org