You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ri...@apache.org on 2007/01/19 22:20:45 UTC

svn commit: r497960 - /maven/continuum/branches/id-refactor/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/ProjectsReader.java

Author: rinku
Date: Fri Jan 19 13:20:44 2007
New Revision: 497960

URL: http://svn.apache.org/viewvc?view=rev&rev=497960
Log:
o  fixed int references in rpc client.

Modified:
    maven/continuum/branches/id-refactor/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/ProjectsReader.java

Modified: maven/continuum/branches/id-refactor/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/ProjectsReader.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/ProjectsReader.java?view=diff&rev=497960&r1=497959&r2=497960
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/ProjectsReader.java (original)
+++ maven/continuum/branches/id-refactor/continuum-rpc-client/src/main/java/org/apache/maven/continuum/rpc/ProjectsReader.java Fri Jan 19 13:20:44 2007
@@ -92,7 +92,7 @@
     {
         XmlRpcClient client = new XmlRpcClient( server );
         Vector vect = new Vector();
-        vect.add( new Integer( proj.getId() ) );
+        vect.add( new Long( proj.getId() ) );
         Object obj = client.execute( "continuum.getProject", vect );
         if ( obj instanceof Hashtable )
         {
@@ -110,7 +110,7 @@
     {
         XmlRpcClient client = new XmlRpcClient( server );
         Vector vect = new Vector();
-        vect.add( new Integer( proj.getId() ) );
+        vect.add( new Long( proj.getId() ) );
         //trigger
         vect.add( new Integer( 1 ) );
         Object obj = client.execute( "continuum.buildProject", vect );