You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/01/29 13:27:59 UTC

[37/37] lucenenet git commit: Lucene.Net.Codecs: Commented unused variables

Lucene.Net.Codecs: Commented unused variables


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

Branch: refs/heads/api-work
Commit: 96d47cec61d95e14c60891d8c536d1031e8e587c
Parents: 46743cc
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Sun Jan 29 20:25:43 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Sun Jan 29 20:25:43 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Codecs/BlockTerms/VariableGapTermsIndexWriter.cs | 2 +-
 src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj                  | 1 +
 src/Lucene.Net.Codecs/Pulsing/PulsingPostingsWriter.cs          | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/96d47cec/src/Lucene.Net.Codecs/BlockTerms/VariableGapTermsIndexWriter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Codecs/BlockTerms/VariableGapTermsIndexWriter.cs b/src/Lucene.Net.Codecs/BlockTerms/VariableGapTermsIndexWriter.cs
index 9b8ebae..be3f35c 100644
--- a/src/Lucene.Net.Codecs/BlockTerms/VariableGapTermsIndexWriter.cs
+++ b/src/Lucene.Net.Codecs/BlockTerms/VariableGapTermsIndexWriter.cs
@@ -233,7 +233,7 @@ namespace Lucene.Net.Codecs.BlockTerms
             private readonly VariableGapTermsIndexWriter outerInstance;
 
             private readonly Builder<long?> _fstBuilder;
-            private readonly PositiveIntOutputs fstOutputs;
+            //private readonly PositiveIntOutputs fstOutputs; // LUCENENET NOTE: Not used
             private readonly long _startTermsFilePointer;
 
             internal FieldInfo FieldInfo { get; private set; }

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/96d47cec/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj b/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj
index 19e2f64..2a52e3b 100644
--- a/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj
+++ b/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj
@@ -21,6 +21,7 @@
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <DebugType>pdbonly</DebugType>

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/96d47cec/src/Lucene.Net.Codecs/Pulsing/PulsingPostingsWriter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Codecs/Pulsing/PulsingPostingsWriter.cs b/src/Lucene.Net.Codecs/Pulsing/PulsingPostingsWriter.cs
index d703b23..729aa2a 100644
--- a/src/Lucene.Net.Codecs/Pulsing/PulsingPostingsWriter.cs
+++ b/src/Lucene.Net.Codecs/Pulsing/PulsingPostingsWriter.cs
@@ -167,7 +167,7 @@ namespace Lucene.Net.Codecs.Pulsing
             return 0;
         }
 
-        private bool DEBUG;
+        //private bool DEBUG; // LUCENENET NOTE: Not used
 
         public override void StartDoc(int docId, int termDocFreq)
         {