cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r766770 - /cxf/trunk/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
Date Mon, 20 Apr 2009 17:37:03 GMT
Author: dkulp
Date: Mon Apr 20 17:37:03 2009
New Revision: 766770

URL: http://svn.apache.org/viewvc?rev=766770&view=rev
Log:
[CXF-2128] Add an npe guard

Modified:
    cxf/trunk/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java

Modified: cxf/trunk/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java?rev=766770&r1=766769&r2=766770&view=diff
==============================================================================
--- cxf/trunk/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
(original)
+++ cxf/trunk/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
Mon Apr 20 17:37:03 2009
@@ -872,7 +872,7 @@
         }
 
         if (soapBindingInfo != null) {
-            isRPC = soapBindingInfo.getStyle().equals(WSDLConstants.RPC);
+            isRPC = WSDLConstants.RPC.equals(soapBindingInfo.getStyle());
         } else if (xml != null) {
             xmlBindingInfo = xml;
         }



Mime
View raw message