geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r521497 - /geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java
Date Thu, 22 Mar 2007 22:16:20 GMT
Author: gawor
Date: Thu Mar 22 15:16:18 2007
New Revision: 521497

URL: http://svn.apache.org/viewvc?view=rev&rev=521497
Log:
fix handling of WebServiceRefs annotations (GERONIMO-3002)

Modified:
    geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java

Modified: geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java?view=diff&rev=521497&r1=521496&r2=521497
==============================================================================
--- geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java
(original)
+++ geronimo/server/trunk/modules/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/annotation/WebServiceRefAnnotationHelper.java
Thu Mar 22 15:16:18 2007
@@ -246,8 +246,12 @@
         // -- Have one parameter
         // -- Return void
         //------------------------------------------------------------------------------------------
-        String injectionJavaType = getInjectionJavaType(method, field);
-        String injectionClass = getInjectionClass(method, field);
+        String injectionJavaType = "";
+        String injectionClass = "";
+        if (method != null || field != null) {
+            injectionJavaType = getInjectionJavaType(method, field);
+            injectionClass = getInjectionClass(method, field);
+        }
         log.debug("addWebServiceRef(): injectionJavaType: " + injectionJavaType);
         log.debug("addWebServiceRef(): injectionClass   : " + injectionClass);
 



Mime
View raw message