cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1066572 - in /cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba: common/ReferenceConstants.java processors/wsdl/WSDLToCorbaHelper.java
Date Wed, 02 Feb 2011 18:36:00 GMT
Author: dkulp
Date: Wed Feb  2 18:36:00 2011
New Revision: 1066572

URL: http://svn.apache.org/viewvc?rev=1066572&view=rev
Log:
Remove an unneeded/deprecated iona.com namespace

Modified:
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/ReferenceConstants.java
    cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaHelper.java

Modified: cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/ReferenceConstants.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/ReferenceConstants.java?rev=1066572&r1=1066571&r2=1066572&view=diff
==============================================================================
--- cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/ReferenceConstants.java
(original)
+++ cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/common/ReferenceConstants.java
Wed Feb  2 18:36:00 2011
@@ -29,9 +29,5 @@ public interface ReferenceConstants {
     String WSADDRESSING_LOCAL_NAME = "EndpointReferenceType";
     QName  WSADDRESSING_TYPE = new QName(WSADDRESSING_NAMESPACE, WSADDRESSING_LOCAL_NAME);
 
-    String REFERENCE_NAMESPACE = "http://schemas.iona.com/references";
-    String REFERENCE_LOCAL_NAME = "Reference";
-    QName  REFERENCE_TYPE = new QName(REFERENCE_NAMESPACE, REFERENCE_LOCAL_NAME);
-    
     String getValue(String value);
 }

Modified: cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaHelper.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaHelper.java?rev=1066572&r1=1066571&r2=1066572&view=diff
==============================================================================
--- cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaHelper.java
(original)
+++ cxf/trunk/tools/corba/src/main/java/org/apache/cxf/tools/corba/processors/wsdl/WSDLToCorbaHelper.java
Wed Feb  2 18:36:00 2011
@@ -1566,8 +1566,7 @@ public class WSDLToCorbaHelper {
     }
 
     private boolean isIDLObjectType(QName typeName) {
-        if (typeName.equals(ReferenceConstants.REFERENCE_TYPE)
-            || typeName.equals(ReferenceConstants.WSADDRESSING_TYPE)) {
+        if (typeName.equals(ReferenceConstants.WSADDRESSING_TYPE)) {
             return true;
         }
 
@@ -1577,8 +1576,7 @@ public class WSDLToCorbaHelper {
     private boolean isAddressingNamespace(QName typeName) {
         return (typeName != null)
                 && (!isIDLObjectType(typeName))
-                && (typeName.getNamespaceURI().equals(ReferenceConstants.REFERENCE_NAMESPACE)
-                || typeName.getNamespaceURI().equals(ReferenceConstants.WSADDRESSING_NAMESPACE));
+                && (typeName.getNamespaceURI().equals(ReferenceConstants.WSADDRESSING_NAMESPACE));
     }
 
     protected static boolean queryBinding(Definition definition, QName bqname) {



Mime
View raw message