kward 2002/06/17 20:34:11
Modified: java/scratchpad/src/org/apache/xindice/server/rpc/messages GetCollectionCount.java Log: Changed return type from long to int Revision Changes Path 1.2 +2 -2 xml-xindice/java/scratchpad/src/org/apache/xindice/server/rpc/messages/GetCollectionCount.java Index: GetCollectionCount.java =================================================================== RCS file: /home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/server/rpc/messages/GetCollectionCount.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- GetCollectionCount.java 30 Apr 2002 13:10:14 -0000 1.1 +++ GetCollectionCount.java 18 Jun 2002 03:34:11 -0000 1.2 @@ -80,7 +80,7 @@ Collection col = getCollection( (String) message.get(COLLECTION) ); Hashtable result = new Hashtable(); - result.put(RESULT, new Long(col.countCollections())); + result.put( RESULT, new Integer( (int) col.countCollections() ) ); return result; } }