continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1415018 - /continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
Date Thu, 29 Nov 2012 01:22:51 GMT
Author: brett
Date: Thu Nov 29 01:22:50 2012
New Revision: 1415018

URL: http://svn.apache.org/viewvc?rev=1415018&view=rev
Log:
undo previous generification as xmlrpc doesn't support it

Modified:
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java

Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java?rev=1415018&r1=1415017&r2=1415018&view=diff
==============================================================================
--- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
(original)
+++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
Thu Nov 29 01:22:50 2012
@@ -4137,6 +4137,14 @@ public class ContinuumServiceImpl
         {
             list.addAll( Arrays.asList( (String[]) obj ) );
         }
+        else if ( obj instanceof Object[] )
+        {
+            // fallback needed since XMLRPC to the build agent will return a List<String>
as Object[]
+            for ( Object o : (Object[]) obj )
+            {
+                list.add( (String) o );
+            }
+        }
         else
         {
             list = (List<String>) obj;



Mime
View raw message