You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2014/09/19 16:19:40 UTC

[07/21] git commit: Minor

Minor


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

Branch: refs/heads/master
Commit: 7b2da40676ee48abf10c46debf859ace8347128d
Parents: 4c2aa1c
Author: Itamar Syn-Hershko <it...@code972.com>
Authored: Fri Sep 19 10:43:26 2014 +0300
Committer: Itamar Syn-Hershko <it...@code972.com>
Committed: Fri Sep 19 10:43:26 2014 +0300

----------------------------------------------------------------------
 src/Lucene.Net.Core/Search/Explanation.cs | 28 +++++++++++++-------------
 1 file changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/7b2da406/src/Lucene.Net.Core/Search/Explanation.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/Explanation.cs b/src/Lucene.Net.Core/Search/Explanation.cs
index 792bdc1..9160ad5 100644
--- a/src/Lucene.Net.Core/Search/Explanation.cs
+++ b/src/Lucene.Net.Core/Search/Explanation.cs
@@ -24,9 +24,9 @@ namespace Lucene.Net.Search
     /// Expert: Describes the score computation for document and query. </summary>
     public class Explanation
     {
-        private float Value_Renamed; // the value of this node
-        private string Description_Renamed; // what it represents
-        private List<Explanation> Details_Renamed; // sub-explanations
+        private float val; // the value of this node
+        private string description; // what it represents
+        private List<Explanation> details; // sub-explanations
 
         public Explanation()
         {
@@ -34,8 +34,8 @@ namespace Lucene.Net.Search
 
         public Explanation(float value, string description)
         {
-            this.Value_Renamed = value;
-            this.Description_Renamed = description;
+            this.val = value;
+            this.description = description;
         }
 
         /// <summary>
@@ -59,11 +59,11 @@ namespace Lucene.Net.Search
         {
             get
             {
-                return Value_Renamed;
+                return val;
             }
             set
             {
-                this.Value_Renamed = value;
+                this.val = value;
             }
         }
 
@@ -73,11 +73,11 @@ namespace Lucene.Net.Search
         {
             get
             {
-                return Description_Renamed;
+                return description;
             }
             set
             {
-                this.Description_Renamed = value;
+                this.description = value;
             }
         }
 
@@ -99,11 +99,11 @@ namespace Lucene.Net.Search
         {
             get
             {
-                if (Details_Renamed == null)
+                if (details == null)
                 {
                     return null;
                 }
-                return Details_Renamed.ToArray();
+                return details.ToArray();
             }
         }
 
@@ -111,11 +111,11 @@ namespace Lucene.Net.Search
         /// Adds a sub-node to this explanation node. </summary>
         public virtual void AddDetail(Explanation detail)
         {
-            if (Details_Renamed == null)
+            if (details == null)
             {
-                Details_Renamed = new List<Explanation>();
+                details = new List<Explanation>();
             }
-            Details_Renamed.Add(detail);
+            details.Add(detail);
         }
 
         /// <summary>