continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1415010 - in /continuum/trunk: continuum-api/src/main/java/org/apache/continuum/release/distributed/manager/ continuum-core/src/main/java/org/apache/continuum/release/distributed/manager/ continuum-distributed/continuum-distributed-slave/c...
Date Thu, 29 Nov 2012 00:29:13 GMT
Author: brett
Date: Thu Nov 29 00:29:11 2012
New Revision: 1415010

URL: http://svn.apache.org/viewvc?rev=1415010&view=rev
Log:
add some generics for consistency

Modified:
    continuum/trunk/continuum-api/src/main/java/org/apache/continuum/release/distributed/manager/DistributedReleaseManager.java
    continuum/trunk/continuum-core/src/main/java/org/apache/continuum/release/distributed/manager/DefaultDistributedReleaseManager.java
    continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-api/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportService.java
    continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-client/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportClient.java
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java

Modified: continuum/trunk/continuum-api/src/main/java/org/apache/continuum/release/distributed/manager/DistributedReleaseManager.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-api/src/main/java/org/apache/continuum/release/distributed/manager/DistributedReleaseManager.java?rev=1415010&r1=1415009&r2=1415010&view=diff
==============================================================================
--- continuum/trunk/continuum-api/src/main/java/org/apache/continuum/release/distributed/manager/DistributedReleaseManager.java
(original)
+++ continuum/trunk/continuum-api/src/main/java/org/apache/continuum/release/distributed/manager/DistributedReleaseManager.java
Thu Nov 29 00:29:11 2012
@@ -46,7 +46,7 @@ public interface DistributedReleaseManag
     ReleaseResult getReleaseResult( String releaseId )
         throws ContinuumReleaseException, BuildAgentConfigurationException;
 
-    Map getListener( String releaseId )
+    Map<String, Object> getListener( String releaseId )
         throws ContinuumReleaseException, BuildAgentConfigurationException;
 
     void removeListener( String releaseId )

Modified: continuum/trunk/continuum-core/src/main/java/org/apache/continuum/release/distributed/manager/DefaultDistributedReleaseManager.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/main/java/org/apache/continuum/release/distributed/manager/DefaultDistributedReleaseManager.java?rev=1415010&r1=1415009&r2=1415010&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/main/java/org/apache/continuum/release/distributed/manager/DefaultDistributedReleaseManager.java
(original)
+++ continuum/trunk/continuum-core/src/main/java/org/apache/continuum/release/distributed/manager/DefaultDistributedReleaseManager.java
Thu Nov 29 00:29:11 2012
@@ -262,7 +262,7 @@ public class DefaultDistributedReleaseMa
         }
     }
 
-    public Map getListener( String releaseId )
+    public Map<String, Object> getListener( String releaseId )
         throws ContinuumReleaseException, BuildAgentConfigurationException
     {
         String buildAgentUrl = getBuildAgentUrl( releaseId );

Modified: continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-api/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportService.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-api/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportService.java?rev=1415010&r1=1415009&r2=1415010&view=diff
==============================================================================
--- continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-api/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportService.java
(original)
+++ continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-api/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportService.java
Thu Nov 29 00:29:11 2012
@@ -68,7 +68,7 @@ public interface SlaveBuildAgentTranspor
     public Map<String, Object> getReleaseResult( String releaseId )
         throws Exception;
 
-    public Map getListener( String releaseId )
+    public Map<String, Object> getListener( String releaseId )
         throws Exception;
 
     public Boolean removeListener( String releaseId )

Modified: continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-client/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportClient.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-client/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportClient.java?rev=1415010&r1=1415009&r2=1415010&view=diff
==============================================================================
--- continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-client/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportClient.java
(original)
+++ continuum/trunk/continuum-distributed/continuum-distributed-slave/continuum-distributed-slave-client/src/main/java/org/apache/continuum/distributed/transport/slave/SlaveBuildAgentTransportClient.java
Thu Nov 29 00:29:11 2012
@@ -140,7 +140,7 @@ public class SlaveBuildAgentTransportCli
     public Map<String, Object> getProjectCurrentlyBuilding()
         throws Exception
     {
-        Map map;
+        Map<String, Object> map;
 
         try
         {
@@ -220,7 +220,7 @@ public class SlaveBuildAgentTransportCli
     public Map<String, Object> getProjectFile( int projectId, String directory, String
filename )
         throws Exception
     {
-        Map result;
+        Map<String, Object> result;
 
         try
         {
@@ -304,7 +304,7 @@ public class SlaveBuildAgentTransportCli
     public Map<String, Object> getReleaseResult( String releaseId )
         throws Exception
     {
-        Map result;
+        Map<String, Object> result;
 
         try
         {
@@ -322,10 +322,10 @@ public class SlaveBuildAgentTransportCli
         return result;
     }
 
-    public Map getListener( String releaseId )
+    public Map<String, Object>  getListener( String releaseId )
         throws Exception
     {
-        Map result;
+        Map<String, Object> result;
 
         try
         {

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=1415010&r1=1415009&r2=1415010&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 00:29:11 2012
@@ -3897,7 +3897,7 @@ public class ContinuumServiceImpl
 
             if ( continuum.getConfiguration().isDistributedBuildEnabled() )
             {
-                Map map = continuum.getDistributedReleaseManager().getListener( releaseId
);
+                Map<String, Object> map = continuum.getDistributedReleaseManager().getListener(
releaseId );
                 return processListenerMap( map );
             }
             else
@@ -4075,7 +4075,7 @@ public class ContinuumServiceImpl
         }
     }
 
-    private ReleaseListenerSummary processListenerMap( Map context )
+    private ReleaseListenerSummary processListenerMap( Map<String, Object> context
)
     {
         ReleaseListenerSummary listenerSummary = new ReleaseListenerSummary();
         Object value = context.get( "release-in-progress" );



Mime
View raw message