Author: markrmiller
Date: Sun Sep 27 04:46:48 2009
New Revision: 819256

URL: http://svn.apache.org/viewvc?rev=819256&view=rev
Log:
remove useless pull of the first Commit

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/core/SolrDeletionPolicy.java

Modified: 
lucene/solr/trunk/src/java/org/apache/solr/core/SolrDeletionPolicy.java
URL: 
http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/core/SolrDeletionPolicy.java?rev=819256&r1=819255&r2=819256&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/core/SolrDeletionPolicy.java 
(original)
+++ lucene/solr/trunk/src/java/org/apache/solr/core/SolrDeletionPolicy.java Sun 
Sep 27 04:46:48 2009
@@ -87,7 +87,7 @@
   static String str(List commits) {
     StringBuilder sb = new StringBuilder();
     sb.append("num=").append(commits.size());
-    IndexCommit comm = (IndexCommit) commits.get(0);
+
     for (IndexCommit commit : (List<IndexCommit>) commits) {
       sb.append("\n\t");
       sb.append(str(commit));


Reply via email to