lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwe...@apache.org
Subject svn commit: r1295949 - /lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java
Date Thu, 01 Mar 2012 22:28:13 GMT
Author: dweiss
Date: Thu Mar  1 22:28:12 2012
New Revision: 1295949

URL: http://svn.apache.org/viewvc?rev=1295949&view=rev
Log:
Removed Thread.toString() override with complex internal logic including monitor locks.

Modified:
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java?rev=1295949&r1=1295948&r2=1295949&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java
(original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/index/ConcurrentMergeScheduler.java
Thu Mar  1 22:28:12 2012
@@ -488,19 +488,6 @@ public class ConcurrentMergeScheduler ex
         }
       }
     }
-
-    @Override
-    public String toString() {
-      try {
-        MergePolicy.OneMerge merge = getRunningMerge();
-        if (merge == null) {
-          merge = startMerge;
-        }
-        return "merge thread: " + tWriter.segString(merge.segments);
-      } catch (Throwable e) {
-        return "merge thread: " + e.toString();
-      }
-    }
   }
 
   /** Called when an exception is hit in a background merge



Mime
View raw message