lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [19/22] lucenenet git commit: lucene-cli: fixed compiler warnings
Date Tue, 11 Jul 2017 07:42:44 GMT
lucene-cli: fixed compiler warnings


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

Branch: refs/heads/master
Commit: 08197052a83391fc64073d563ecc42f01eac4d05
Parents: d0e5d98
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Tue Jul 11 12:51:20 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Tue Jul 11 12:51:20 2017 +0700

----------------------------------------------------------------------
 src/tools/lucene-cli/ConfigurationBase.cs       | 2 +-
 src/tools/lucene-cli/SourceCode/ConsolePager.cs | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/08197052/src/tools/lucene-cli/ConfigurationBase.cs
----------------------------------------------------------------------
diff --git a/src/tools/lucene-cli/ConfigurationBase.cs b/src/tools/lucene-cli/ConfigurationBase.cs
index 28e8de5..5aacf4e 100644
--- a/src/tools/lucene-cli/ConfigurationBase.cs
+++ b/src/tools/lucene-cli/ConfigurationBase.cs
@@ -61,7 +61,7 @@ namespace Lucene.Net.Cli
                 {
                     return invoke();
                 }
-                catch (ArgumentException e)
+                catch (ArgumentException)
                 {
                     // Rather than writing to console, the
                     // utilities are now throwing ArgumentException

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/08197052/src/tools/lucene-cli/SourceCode/ConsolePager.cs
----------------------------------------------------------------------
diff --git a/src/tools/lucene-cli/SourceCode/ConsolePager.cs b/src/tools/lucene-cli/SourceCode/ConsolePager.cs
index 101935f..ef17101 100644
--- a/src/tools/lucene-cli/SourceCode/ConsolePager.cs
+++ b/src/tools/lucene-cli/SourceCode/ConsolePager.cs
@@ -54,7 +54,6 @@ namespace Lucene.Net.Cli.SourceCode
     public class ConsolePager : IDisposable
     {
         private readonly MultipleFileLineEnumerator enumerator;
-        private readonly IEnumerable<string> files;
 
         public ConsolePager(IEnumerable<string> files)
         {


Mime
View raw message