continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ri...@apache.org
Subject svn commit: r497972 - in /maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc: ContinuumXmlRpc.java DefaultContinuumXmlRpc.java
Date Fri, 19 Jan 2007 22:03:20 GMT
Author: rinku
Date: Fri Jan 19 14:03:19 2007
New Revision: 497972

URL: http://svn.apache.org/viewvc?view=rev&rev=497972
Log:
o  updated XML-RPC for int Ids.

Modified:
    maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumXmlRpc.java
    maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java

Modified: maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumXmlRpc.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumXmlRpc.java?view=diff&rev=497972&r1=497971&r2=497972
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumXmlRpc.java
(original)
+++ maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumXmlRpc.java
Fri Jan 19 14:03:19 2007
@@ -39,9 +39,9 @@
     // Projects
     // ----------------------------------------------------------------------
 
-    Hashtable removeProject( int projectId );
+    Hashtable removeProject( long projectId );
 
-    Hashtable getProject( int projectId );
+    Hashtable getProject( long projectId );
 
     Hashtable getProjects();
 
@@ -49,7 +49,7 @@
     // Building
     // ----------------------------------------------------------------------
 
-    Hashtable buildProject( int projectId, int trigger );
+    Hashtable buildProject( long projectId, int trigger );
 
     // ----------------------------------------------------------------------
     // Builds

Modified: maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java?view=diff&rev=497972&r1=497971&r2=497972
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
(original)
+++ maven/continuum/branches/id-refactor/continuum-xmlrpc/src/main/java/org/apache/maven/continuum/xmlrpc/DefaultContinuumXmlRpc.java
Fri Jan 19 14:03:19 2007
@@ -64,7 +64,7 @@
     // ContinuumXmlRpc Implementation
     // ----------------------------------------------------------------------
 
-    public Hashtable removeProject( int projectId )
+    public Hashtable removeProject( long projectId )
     {
         try
         {
@@ -78,7 +78,7 @@
         }
     }
 
-    public Hashtable getProject( int projectId )
+    public Hashtable getProject( long projectId )
     {
         try
         {
@@ -167,7 +167,7 @@
     // Build handling
     // ----------------------------------------------------------------------
 
-    public Hashtable buildProject( int projectId, int trigger )
+    public Hashtable buildProject( long projectId, int trigger )
     {
         try
         {
@@ -199,7 +199,7 @@
             {
                 Project project = (Project) it.next();
 
-                projectIds.add( new Integer( project.getId() ) );
+                projectIds.add( new Long( project.getId() ) );
             }
 
             return makeHashtable( "projectIds", xmlRpcHelper.collectionToVector( projectIds,
false ) );
@@ -270,7 +270,7 @@
             {
                 Project project = (Project) it.next();
 
-                projectIds.add( new Integer( project.getId() ) );
+                projectIds.add( new Long( project.getId() ) );
             }
 
             return makeHashtable( "projectIds", xmlRpcHelper.collectionToVector( projectIds,
false ) );



Mime
View raw message