cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r777243 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java
Date Thu, 21 May 2009 20:29:58 GMT
Author: dkulp
Date: Thu May 21 20:29:56 2009
New Revision: 777243

URL: http://svn.apache.org/viewvc?rev=777243&view=rev
Log:
Fix for swa method issue

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java?rev=777243&r1=777242&r2=777243&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/SwAOutInterceptor.java
Thu May 21 20:29:56 2009
@@ -86,10 +86,10 @@
         if (m == null && !SWA_REF_METHOD.containsKey(ctx.getClass().getName())) {
             try {
                 m = ctx.getClass().getMethod("hasSwaRef", new Class[0]);
+                SWA_REF_METHOD.put(ctx.getClass().getName(), m);
             } catch (Exception e) {
                 //ignore
             }
-            SWA_REF_METHOD.put(ctx.getClass().getName(), m);
         }
         try {
             return (Boolean)m.invoke(ctx);



Mime
View raw message