cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1242796 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HTTPTransportActivator.java
Date Fri, 10 Feb 2012 14:49:51 GMT
Author: dkulp
Date: Fri Feb 10 14:49:51 2012
New Revision: 1242796

URL: http://svn.apache.org/viewvc?rev=1242796&view=rev
Log:
Prevent an NPE

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HTTPTransportActivator.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HTTPTransportActivator.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HTTPTransportActivator.java?rev=1242796&r1=1242795&r2=1242796&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HTTPTransportActivator.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HTTPTransportActivator.java
Fri Feb 10 14:49:51 2012
@@ -268,6 +268,7 @@ public class HTTPTransportActivator 
                     StringTokenizer st = new StringTokenizer(v, ",");
                     FiltersType ft = p.getCipherSuitesFilter();
                     if (ft == null) {
+                        ft = new FiltersType();
                         p.setCipherSuitesFilter(ft);
                     }
                     List<String> lst = "include".equals(k) ? ft.getInclude() : ft.getExclude();



Mime
View raw message