From c0f037cd1f5495665a8a210852777b6c39344a03 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Thu, 24 Jul 2008 15:53:57 +0000 Subject: [PATCH] change Collection to Collection in solrj object binder git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@679438 13f79535-47bb-0310-9956-ffa450edef68 --- .../solrj/src/org/apache/solr/client/solrj/SolrServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/java/solrj/src/org/apache/solr/client/solrj/SolrServer.java b/client/java/solrj/src/org/apache/solr/client/solrj/SolrServer.java index f58cb450955..daa043fc0e4 100644 --- a/client/java/solrj/src/org/apache/solr/client/solrj/SolrServer.java +++ b/client/java/solrj/src/org/apache/solr/client/solrj/SolrServer.java @@ -49,7 +49,7 @@ public abstract class SolrServer implements Serializable return req.process(this); } - public UpdateResponse addBeans(Collection beans, boolean overwrite ) throws SolrServerException, IOException { + public UpdateResponse addBeans(Collection beans, boolean overwrite ) throws SolrServerException, IOException { DocumentObjectBinder binder = this.getBinder(); ArrayList docs = new ArrayList(beans.size()); for (Object bean : beans) { @@ -81,7 +81,7 @@ public abstract class SolrServer implements Serializable return add(docs, true); } - public UpdateResponse addBeans(Collection beans ) throws SolrServerException, IOException { + public UpdateResponse addBeans(Collection beans ) throws SolrServerException, IOException { return addBeans(beans,true); }