lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [06/10] lucenenet git commit: Adding LUCENENET specific to Lucene.NET only changes
Date Tue, 24 May 2016 21:22:59 GMT
Adding LUCENENET specific to Lucene.NET only changes


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/53f4897a
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/53f4897a
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/53f4897a

Branch: refs/heads/analysis-work
Commit: 53f4897a18adf058ff294d134e742ee1a66c6318
Parents: df83f07
Author: Connie Yau <conniey@microsoft.com>
Authored: Tue May 10 15:23:53 2016 -0700
Committer: Connie Yau <conniey@microsoft.com>
Committed: Tue May 10 15:23:53 2016 -0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Index/IConcurrentMergeScheduler.cs    | 1 +
 src/Lucene.Net.Core/Index/IMergeScheduler.cs              | 1 +
 src/Lucene.Net.Core/Index/TaskMergeScheduler.cs           | 2 ++
 src/Lucene.Net.Core/Util/ReaderWriterLockSlimExtension.cs | 9 ++++-----
 src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs       | 2 ++
 5 files changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/53f4897a/src/Lucene.Net.Core/Index/IConcurrentMergeScheduler.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/IConcurrentMergeScheduler.cs b/src/Lucene.Net.Core/Index/IConcurrentMergeScheduler.cs
index bbf205f..c4fc2f4 100644
--- a/src/Lucene.Net.Core/Index/IConcurrentMergeScheduler.cs
+++ b/src/Lucene.Net.Core/Index/IConcurrentMergeScheduler.cs
@@ -1,5 +1,6 @@
 ´╗┐namespace Lucene.Net.Index
 {
+    // LUCENENET specific
     public interface IConcurrentMergeScheduler : IMergeScheduler
     {
         int MaxThreadCount { get; }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/53f4897a/src/Lucene.Net.Core/Index/IMergeScheduler.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/IMergeScheduler.cs b/src/Lucene.Net.Core/Index/IMergeScheduler.cs
index 36347b5..ccc2c57 100644
--- a/src/Lucene.Net.Core/Index/IMergeScheduler.cs
+++ b/src/Lucene.Net.Core/Index/IMergeScheduler.cs
@@ -2,6 +2,7 @@
 
 namespace Lucene.Net.Index
 {
+    // LUCENENET specific
     public interface IMergeScheduler : IDisposable
     {
         void Merge(IndexWriter writer, MergeTrigger trigger, bool newMergesFound);

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/53f4897a/src/Lucene.Net.Core/Index/TaskMergeScheduler.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/TaskMergeScheduler.cs b/src/Lucene.Net.Core/Index/TaskMergeScheduler.cs
index 54f7560..f82b145 100644
--- a/src/Lucene.Net.Core/Index/TaskMergeScheduler.cs
+++ b/src/Lucene.Net.Core/Index/TaskMergeScheduler.cs
@@ -37,6 +37,8 @@ namespace Lucene.Net.Index
     ///  requested then this class will forcefully throttle the
     ///  incoming threads by pausing until one more more merges
     ///  complete.</p>
+    ///  
+    /// LUCENENET specific
     /// </summary>
     public class TaskMergeScheduler : MergeScheduler, IConcurrentMergeScheduler
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/53f4897a/src/Lucene.Net.Core/Util/ReaderWriterLockSlimExtension.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/ReaderWriterLockSlimExtension.cs b/src/Lucene.Net.Core/Util/ReaderWriterLockSlimExtension.cs
index 927a00b..c5dadfc 100644
--- a/src/Lucene.Net.Core/Util/ReaderWriterLockSlimExtension.cs
+++ b/src/Lucene.Net.Core/Util/ReaderWriterLockSlimExtension.cs
@@ -1,15 +1,14 @@
 ´╗┐using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
 using System.Threading;
-using System.Threading.Tasks;
 
 namespace Lucene.Net.Util
 {
     /// <summary>
-    /// From:
+    /// Extensions to help obtain/release from a ReaderWriterSlimLock.
+    /// Taken from:
     /// http://stackoverflow.com/questions/170028/how-would-you-simplify-entering-and-exiting-a-readerwriterlock
+    /// 
+    /// LUCENENET specific
     /// </summary>
     internal static class ReaderWriterExtension
     {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/53f4897a/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs b/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
index 83f17bd..147c4a7 100644
--- a/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Util/LuceneTestCase.cs
@@ -2688,6 +2688,8 @@ namespace Lucene.Net.Util
 
         /// <summary>
         /// Contains a list of all the IConcurrentMergeSchedulers to be tested.
+        /// 
+        /// LUCENENET specific
         /// </summary>
         public class ConcurrentMergeSchedulers
         {


Mime
View raw message