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:16:47 UTC

svn commit: r1495120 - /cxf/branches/2.7.x-fixes/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java

Author: dkulp
Date: Thu Jun 20 18:16:46 2013
New Revision: 1495120

URL: http://svn.apache.org/r1495120
Log:
Merged revisions 1495116 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1495116 | dkulp | 2013-06-20 14:10:42 -0400 (Thu, 20 Jun 2013) | 2 lines

  EndpointProperty annotation is only saving the second value, not the whole array

........

Modified:
    cxf/branches/2.7.x-fixes/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java

Modified: cxf/branches/2.7.x-fixes/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java?rev=1495120&r1=1495119&r2=1495120&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java (original)
+++ cxf/branches/2.7.x-fixes/rt/core/src/main/java/org/apache/cxf/service/factory/AnnotationsFactoryBeanListener.java Thu Jun 20 18:16:46 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);                
             }
         }