lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r819256 - /lucene/solr/trunk/src/java/org/apache/solr/core/SolrDeletionPolicy.java
Date Sun, 27 Sep 2009 04:46:48 GMT
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));



Mime
View raw message