geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r794734 - /geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/EndpointInfoBuilder.java
Date Thu, 16 Jul 2009 16:26:55 GMT
Author: gawor
Date: Thu Jul 16 16:26:55 2009
New Revision: 794734

URL: http://svn.apache.org/viewvc?rev=794734&view=rev
Log:
extra check for null

Modified:
    geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/EndpointInfoBuilder.java

Modified: geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/EndpointInfoBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/EndpointInfoBuilder.java?rev=794734&r1=794733&r2=794734&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/EndpointInfoBuilder.java
(original)
+++ geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/EndpointInfoBuilder.java
Thu Jul 16 16:26:55 2009
@@ -279,7 +279,7 @@
 
     private Map<String, Object> getProperties(GerPortType port) {
         Map<String, Object> props = new HashMap<String, Object>();
-        if (port.getPropertyArray() != null) {
+        if (port != null && port.getPropertyArray() != null) {
             for (GerPortPropertyType propertyType : port.getPropertyArray()) {
                 props.put(propertyType.getName(), propertyType.getStringValue().trim());
             }



Mime
View raw message