cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1372928 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusApplicationContextResourceResolver.java
Date Tue, 14 Aug 2012 15:37:38 GMT
Author: dkulp
Date: Tue Aug 14 15:37:37 2012
New Revision: 1372928

URL: http://svn.apache.org/viewvc?rev=1372928&view=rev
Log:
Ooopss... useless double cast

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusApplicationContextResourceResolver.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusApplicationContextResourceResolver.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusApplicationContextResourceResolver.java?rev=1372928&r1=1372927&r2=1372928&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusApplicationContextResourceResolver.java
(original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusApplicationContextResourceResolver.java
Tue Aug 14 15:37:37 2012
@@ -71,7 +71,7 @@ public class BusApplicationContextResour
             if (resourceName == null) {
                 resource = resourceType.cast(context.getBean(resourceType));
             } else {
-                resource = resourceType.cast(resourceType.cast(context.getBean(resourceName,
resourceType)));
+                resource = resourceType.cast(context.getBean(resourceName, resourceType));
             }
             return resource;
         } catch (NoSuchBeanDefinitionException def) {



Mime
View raw message