cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1089397 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
Date Wed, 06 Apr 2011 10:51:02 GMT
Author: sergeyb
Date: Wed Apr  6 10:51:01 2011
New Revision: 1089397

URL: http://svn.apache.org/viewvc?rev=1089397&view=rev
Log:
[CXF-3415] Minor optimization

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java?rev=1089397&r1=1089396&r2=1089397&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
Wed Apr  6 10:51:01 2011
@@ -440,9 +440,9 @@ public final class ProviderFactory {
         for (List<?> list : providerLists) {
             for (Object p : list) {
                 ProviderInfo pi = (ProviderInfo)p;
-                //if (ProviderFactory.SHARED_FACTORY == this && isJaxbBasedProvider(pi.getProvider()))
{
-                //    continue;
-                //}
+                if (ProviderFactory.SHARED_FACTORY == this && isJaxbBasedProvider(pi.getProvider()))
{
+                    continue;
+                }
                 InjectionUtils.injectContextProxies(pi, pi.getProvider());
             }
         }



Mime
View raw message