cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r684793 - /cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
Date Mon, 11 Aug 2008 16:19:05 GMT
Author: dkulp
Date: Mon Aug 11 09:19:04 2008
New Revision: 684793

URL: http://svn.apache.org/viewvc?rev=684793&view=rev
Log:
Better "assert" line

Modified:
    cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java

Modified: cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java?rev=684793&r1=684792&r2=684793&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
(original)
+++ cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/JettyHTTPServerEngineFactory.java
Mon Aug 11 09:19:04 2008
@@ -88,9 +88,8 @@
      */
     @Resource(name = "cxf")
     public void setBus(Bus bus) {
-        if (this.bus == null) {
-            this.bus = bus;
-        }
+        assert this.bus == null || this.bus == bus;
+        this.bus = bus;
     }
     
     public Bus getBus() {



Mime
View raw message