kward       2002/06/17 20:34:27

  Modified:    java/scratchpad/src/org/apache/xindice/server/rpc/messages
                        GetDocumentCount.java
  Log:
  Changed return type from long to int
  
  Revision  Changes    Path
  1.4       +3 -2      
xml-xindice/java/scratchpad/src/org/apache/xindice/server/rpc/messages/GetDocumentCount.java
  
  Index: GetDocumentCount.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/server/rpc/messages/GetDocumentCount.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- GetDocumentCount.java     11 Jun 2002 01:24:04 -0000      1.3
  +++ GetDocumentCount.java     18 Jun 2002 03:34:27 -0000      1.4
  @@ -82,7 +82,8 @@
         Collection col = getCollection( (String) message.get(COLLECTION) );
   
         Hashtable result = new Hashtable();
  -      result.put(RESULT, new Long(col.getDocumentCount()));
  +
  +      result.put( RESULT, new Integer( (int) col.getDocumentCount() ) );
         return result;
      }
   }
  
  
  

Reply via email to