You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ba...@apache.org on 2008/04/25 00:36:56 UTC
svn commit: r651445 - in
/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl:
DescriptionFactoryImpl.java EndpointDescriptionImpl.java
EndpointInterfaceDescriptionImpl.java
Author: barrettj
Date: Thu Apr 24 15:36:51 2008
New Revision: 651445
URL: http://svn.apache.org/viewvc?rev=651445&view=rev
Log:
Code cleanup: remove obsolete method and code block.
Modified:
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/DescriptionFactoryImpl.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointInterfaceDescriptionImpl.java
Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/DescriptionFactoryImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/DescriptionFactoryImpl.java?rev=651445&r1=651444&r2=651445&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/DescriptionFactoryImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/DescriptionFactoryImpl.java Thu Apr 24 15:36:51 2008
@@ -389,23 +389,6 @@
}
/**
- * Builds a list of DescriptionBuilderComposite which is relevant to the particular class
- *
- * @param List<> A list of DescriptionBuilderComposite objects
- * @param serviceImplName
- * @return List<>
- */
- // TODO: (JLB) Remove unreferenced method
- private static List<DescriptionBuilderComposite> buildRelevantCompositeList(
- List<DescriptionBuilderComposite> compositeList,
- String serviceImplName) {
-
- List<DescriptionBuilderComposite> relevantList = compositeList;
-
- return relevantList;
- }
-
- /**
* This method will be used to determine if a given DBC represents a Web service
* implementation.
*
Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java?rev=651445&r1=651444&r2=651445&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java Thu Apr 24 15:36:51 2008
@@ -598,20 +598,6 @@
// This is the client code path; the @WebServce will not have an endpointInterface member
// For now, just build the EndpointInterfaceDesc based on the class itself.
seiClass = composite.getCorrespondingClass();
- } else {
- // TODO: (JLB) This should be removed; it was for server-side introspection code
- // This is the deprecated server-side introspection code for an impl that references an SEI
- try {
- // TODO: Using Class forName() is probably not the best long-term way to get the SEI class from the annotation
- seiClass = forName(seiClassName, false,
- getContextClassLoader(this.axisService != null ? this.axisService.getClassLoader() : null));
- // Catch Throwable as ClassLoader can throw an NoClassDefFoundError that
- // does not extend Exception, so lets catch everything that extends Throwable
- // rather than just Exception.
- } catch (Throwable e) {
- throw ExceptionFactory.makeWebServiceException(Messages.getMessage("endpointDescriptionErr8"),e);
-
- }
}
endpointInterfaceDescription = new EndpointInterfaceDescriptionImpl(seiClass, this);
} else {
Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointInterfaceDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointInterfaceDescriptionImpl.java?rev=651445&r1=651444&r2=651445&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointInterfaceDescriptionImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointInterfaceDescriptionImpl.java Thu Apr 24 15:36:51 2008
@@ -193,7 +193,6 @@
* @param isClass
* @param parent
*/
- // TODO: (JLB) isClass parameter is not used; can be removed.
EndpointInterfaceDescriptionImpl(DescriptionBuilderComposite dbc,
boolean isClass,
EndpointDescriptionImpl parent) {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org