cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1404089 - /cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/AtomPushEngineConfigurator.java
Date Wed, 31 Oct 2012 11:06:04 GMT
Author: sergeyb
Date: Wed Oct 31 11:06:03 2012
New Revision: 1404089

URL: http://svn.apache.org/viewvc?rev=1404089&view=rev
Log:
Removing the duplicate code in AtomPushEngineConfigurator, thanks to Colm

Modified:
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/AtomPushEngineConfigurator.java

Modified: cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/AtomPushEngineConfigurator.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/AtomPushEngineConfigurator.java?rev=1404089&r1=1404088&r2=1404089&view=diff
==============================================================================
--- cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/AtomPushEngineConfigurator.java
(original)
+++ cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/logging/atom/AtomPushEngineConfigurator.java
Wed Oct 31 11:06:03 2012
@@ -128,11 +128,8 @@ final class AtomPushEngineConfigurator {
                     : batch > 1 ? Multiplicity.MANY : Multiplicity.ONE; 
                 Multiplicity mul = parseEnum(multiplicity, defaultMul, Multiplicity.class);
                 Format form = parseEnum(format, Format.CONTENT, Format.class);
-                if (out == Output.FEED) {
-                    c = new StandardConverter(out, mul, form);
-                } else {
-                    c = new StandardConverter(out, mul, form);
-                }
+                c = new StandardConverter(out, mul, form);
+                
                 if (retryPause != null) {
                     int timeout = parseInt(retryTimeout, 0, 0);
                     int pause = parseInt(retryPauseTime, 1, 30);



Mime
View raw message