Author: sagara
Date: Tue Sep 1 15:16:26 2009
New Revision: 810089
URL: http://svn.apache.org/viewvc?rev=810089&view=rev
Log:
Merging Woden-209 branch.
Modified:
webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/validation/WSDLComponentValidator.java
Modified:
webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/validation/WSDLComponentValidator.java
URL:
http://svn.apache.org/viewvc/webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/validation/WSDLComponentValidator.java?rev=810089&r1=810088&r2=810089&view=diff
==============================================================================
---
webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/validation/WSDLComponentValidator.java
(original)
+++
webservices/woden/trunk/java/woden-commons/src/main/java/org/apache/woden/internal/wsdl20/validation/WSDLComponentValidator.java
Tue Sep 1 15:16:26 2009
@@ -336,7 +336,7 @@
int numExtInterfaces = extendedInterfaces.length;
for(int i = 0; i < numExtInterfaces; i++)
{
- if(interfac.equals(extendedInterfaces[i]))
+ if(interfac.isEquivalentTo(extendedInterfaces[i]))
return extendedInterfaces[i];
else if(containsInterface(interfac,
extendedInterfaces[i].getExtendedInterfaces()) != null)
return extendedInterfaces[i];
@@ -879,7 +879,7 @@
// If an interface hasn't been specified on the service this
assertion doesn't apply.
// If the binding interface is null this assertion passes.
- if(serviceInterface != null && bindingInterface != null &&
!serviceInterface.equals(bindingInterface))
+ if(serviceInterface != null && bindingInterface != null &&
!serviceInterface.isEquivalentTo(bindingInterface))
{
errorReporter.reportError(new ErrorLocatorImpl(),
"Endpoint-1062", new Object[]{binding, bindingInterface, serviceInterface},
ErrorReporter.SEVERITY_ERROR);
return false;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]