lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [26/50] [abbrv] lucenenet git commit: SWEEP: Changed all IEnumerable<T> implementations to throw NotSupportedException instead of NotImplementedException for Reset() method.
Date Sun, 05 Mar 2017 11:49:05 GMT
SWEEP: Changed all IEnumerable<T> implementations to throw NotSupportedException instead
of NotImplementedException for Reset() method.


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

Branch: refs/heads/api-work
Commit: 2efad4fc355ee13e9a3cbc134b3614f92da56cd4
Parents: 5f30b0f
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Fri Mar 3 14:42:50 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Mar 5 17:08:41 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xTermVectorsReader.cs | 2 +-
 src/Lucene.Net.Core/Index/CoalescedUpdates.cs                    | 2 +-
 src/Lucene.Net.Core/Index/DocumentsWriterFlushControl.cs         | 2 +-
 src/Lucene.Net.Core/Index/FrozenBufferedUpdates.cs               | 2 +-
 src/Lucene.Net.Core/Util/AttributeSource.cs                      | 2 +-
 src/Lucene.Net.Core/Util/Automaton/State.cs                      | 2 +-
 src/Lucene.Net.Core/Util/FilterIterator.cs                       | 2 +-
 src/Lucene.Net.Core/Util/MergedIterator.cs                       | 2 +-
 src/Lucene.Net.Core/Util/RamUsageEstimator.cs                    | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2efad4fc/src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xTermVectorsReader.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xTermVectorsReader.cs b/src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xTermVectorsReader.cs
index 604ea8c..46fba1a 100644
--- a/src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xTermVectorsReader.cs
+++ b/src/Lucene.Net.Core/Codecs/Lucene3x/Lucene3xTermVectorsReader.cs
@@ -307,7 +307,7 @@ namespace Lucene.Net.Codecs.Lucene3x
 
                 public void Reset()
                 {
-                    throw new NotImplementedException();
+                    throw new NotSupportedException();
                 }
 
                 public void Dispose()

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2efad4fc/src/Lucene.Net.Core/Index/CoalescedUpdates.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/CoalescedUpdates.cs b/src/Lucene.Net.Core/Index/CoalescedUpdates.cs
index dfb6648..5ce47a9 100644
--- a/src/Lucene.Net.Core/Index/CoalescedUpdates.cs
+++ b/src/Lucene.Net.Core/Index/CoalescedUpdates.cs
@@ -149,7 +149,7 @@ namespace Lucene.Net.Index
 
                 public void Reset()
                 {
-                    throw new NotImplementedException();
+                    throw new NotSupportedException();
                 }
 
                 public QueryAndLimit Current

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2efad4fc/src/Lucene.Net.Core/Index/DocumentsWriterFlushControl.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/DocumentsWriterFlushControl.cs b/src/Lucene.Net.Core/Index/DocumentsWriterFlushControl.cs
index 2bb306c..d6e6317 100644
--- a/src/Lucene.Net.Core/Index/DocumentsWriterFlushControl.cs
+++ b/src/Lucene.Net.Core/Index/DocumentsWriterFlushControl.cs
@@ -541,7 +541,7 @@ namespace Lucene.Net.Index
 
             public void Reset()
             {
-                throw new NotImplementedException();
+                throw new NotSupportedException();
             }
         }
 

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2efad4fc/src/Lucene.Net.Core/Index/FrozenBufferedUpdates.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/FrozenBufferedUpdates.cs b/src/Lucene.Net.Core/Index/FrozenBufferedUpdates.cs
index 571fdb3..517ed28 100644
--- a/src/Lucene.Net.Core/Index/FrozenBufferedUpdates.cs
+++ b/src/Lucene.Net.Core/Index/FrozenBufferedUpdates.cs
@@ -229,7 +229,7 @@ namespace Lucene.Net.Index
 
                 public virtual void Reset()
                 {
-                    throw new NotImplementedException();
+                    throw new NotSupportedException();
                 }
 
                 public void Dispose()

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2efad4fc/src/Lucene.Net.Core/Util/AttributeSource.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/AttributeSource.cs b/src/Lucene.Net.Core/Util/AttributeSource.cs
index 7ec1187..053072a 100644
--- a/src/Lucene.Net.Core/Util/AttributeSource.cs
+++ b/src/Lucene.Net.Core/Util/AttributeSource.cs
@@ -240,7 +240,7 @@ namespace Lucene.Net.Util
 
             public void Reset()
             {
-                throw new NotImplementedException();
+                throw new NotSupportedException();
             }
 
             public Attribute Current

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2efad4fc/src/Lucene.Net.Core/Util/Automaton/State.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/Automaton/State.cs b/src/Lucene.Net.Core/Util/Automaton/State.cs
index 75d432a..b3df5a3 100644
--- a/src/Lucene.Net.Core/Util/Automaton/State.cs
+++ b/src/Lucene.Net.Core/Util/Automaton/State.cs
@@ -137,7 +137,7 @@ namespace Lucene.Net.Util.Automaton
 
                 public void Reset()
                 {
-                    throw new NotImplementedException();
+                    throw new NotSupportedException();
                 }
 
                 public void Dispose()

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2efad4fc/src/Lucene.Net.Core/Util/FilterIterator.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/FilterIterator.cs b/src/Lucene.Net.Core/Util/FilterIterator.cs
index 824901c..87cced1 100644
--- a/src/Lucene.Net.Core/Util/FilterIterator.cs
+++ b/src/Lucene.Net.Core/Util/FilterIterator.cs
@@ -62,7 +62,7 @@ namespace Lucene.Net.Util
 
         public void Reset()
         {
-            throw new NotImplementedException(); // LUCENENET TODO: Change to NotSupportedException
+            throw new NotSupportedException();
         }
 
         private bool SetNext()

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2efad4fc/src/Lucene.Net.Core/Util/MergedIterator.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/MergedIterator.cs b/src/Lucene.Net.Core/Util/MergedIterator.cs
index b793d6f..2e4d915 100644
--- a/src/Lucene.Net.Core/Util/MergedIterator.cs
+++ b/src/Lucene.Net.Core/Util/MergedIterator.cs
@@ -111,7 +111,7 @@ namespace Lucene.Net.Util
 
         public void Reset()
         {
-            throw new NotImplementedException();// LUCENENET TODO: change to NotSupportedException
+            throw new NotSupportedException();
         }
 
         public void Dispose()

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/2efad4fc/src/Lucene.Net.Core/Util/RamUsageEstimator.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Util/RamUsageEstimator.cs b/src/Lucene.Net.Core/Util/RamUsageEstimator.cs
index 589e10c..be123f7 100644
--- a/src/Lucene.Net.Core/Util/RamUsageEstimator.cs
+++ b/src/Lucene.Net.Core/Util/RamUsageEstimator.cs
@@ -963,7 +963,7 @@ namespace Lucene.Net.Util
 
                 public void Reset()
                 {
-                    throw new NotImplementedException();
+                    throw new NotSupportedException();
                 }
 
                 public void Dispose()


Mime
View raw message