lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [45/53] [abbrv] lucenenet git commit: Lucene.Net.Core.Index: Added exceptions to the .NET numeric convention rule for SkippingLongTerm() (which although there isn't any way to confirm, it sounds like they are not referring to the datatype long)
Date Wed, 08 Feb 2017 14:32:24 GMT
Lucene.Net.Core.Index: Added exceptions to the .NET numeric convention rule for SkippingLongTerm()
(which although there isn't any way to confirm, it sounds like they are not referring to the
datatype long)


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

Branch: refs/heads/api-work
Commit: e67e0b572c7de8c2d32cd083b6b556a13222feab
Parents: 96dd76c
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Feb 8 17:46:58 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Feb 8 21:08:25 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Index/FreqProxTermsWriterPerField.cs | 2 ++
 src/Lucene.Net.Core/Index/TermVectorsConsumerPerField.cs | 2 ++
 src/Lucene.Net.Core/Index/TermsHashConsumerPerField.cs   | 3 +++
 3 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e67e0b57/src/Lucene.Net.Core/Index/FreqProxTermsWriterPerField.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/FreqProxTermsWriterPerField.cs b/src/Lucene.Net.Core/Index/FreqProxTermsWriterPerField.cs
index b3bfdc5..9ba48d7 100644
--- a/src/Lucene.Net.Core/Index/FreqProxTermsWriterPerField.cs
+++ b/src/Lucene.Net.Core/Index/FreqProxTermsWriterPerField.cs
@@ -1,4 +1,5 @@
 using Lucene.Net.Analysis.TokenAttributes;
+using Lucene.Net.Support;
 using System;
 using System.Collections.Generic;
 using System.Diagnostics;
@@ -83,6 +84,7 @@ namespace Lucene.Net.Index
 
         internal bool hasPayloads;
 
+        [ExceptionToNetNumericConvention]
         internal override void SkippingLongTerm()
         {
         }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e67e0b57/src/Lucene.Net.Core/Index/TermVectorsConsumerPerField.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/TermVectorsConsumerPerField.cs b/src/Lucene.Net.Core/Index/TermVectorsConsumerPerField.cs
index 13128b3..f81208b 100644
--- a/src/Lucene.Net.Core/Index/TermVectorsConsumerPerField.cs
+++ b/src/Lucene.Net.Core/Index/TermVectorsConsumerPerField.cs
@@ -1,4 +1,5 @@
 using Lucene.Net.Analysis.TokenAttributes;
+using Lucene.Net.Support;
 using System;
 using System.Diagnostics;
 
@@ -316,6 +317,7 @@ namespace Lucene.Net.Index
             WriteProx(postings, termID);
         }
 
+        [ExceptionToNetNumericConvention]
         internal override void SkippingLongTerm()
         {
         }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/e67e0b57/src/Lucene.Net.Core/Index/TermsHashConsumerPerField.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Index/TermsHashConsumerPerField.cs b/src/Lucene.Net.Core/Index/TermsHashConsumerPerField.cs
index 3469ad0..c0400e3 100644
--- a/src/Lucene.Net.Core/Index/TermsHashConsumerPerField.cs
+++ b/src/Lucene.Net.Core/Index/TermsHashConsumerPerField.cs
@@ -1,3 +1,5 @@
+using Lucene.Net.Support;
+
 namespace Lucene.Net.Index
 {
     /*
@@ -29,6 +31,7 @@ namespace Lucene.Net.Index
 
         internal abstract void Finish();
 
+        [ExceptionToNetNumericConvention]
         internal abstract void SkippingLongTerm();
 
         internal abstract void Start(IIndexableField field);


Mime
View raw message