You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2013/06/20 20:10:42 UTC

svn commit: r1495116 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java

Author: dkulp
Date: Thu Jun 20 18:10:42 2013
New Revision: 1495116

URL: http://svn.apache.org/r1495116
Log:
EndpointProperty annotation is only saving the second value, not the whole array

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java?rev=1495116&r1=1495115&r2=1495116&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java Thu Jun 20 18:10:42 2013
@@ -220,7 +220,7 @@ public class AnnotationsFactoryBeanListe
             if (s.length == 1) {
                 ep.getEndpointInfo().setProperty(prop.key(), s[0]);
             } else {
-                ep.getEndpointInfo().setProperty(prop.key(), s[1]);                
+                ep.getEndpointInfo().setProperty(prop.key(), s);                
             }
         }