lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [34/39] lucenenet git commit: Lucene.Net.Analysis.Util.OpenStringBuilder refactor: Removed Flush() method because this seems nonsensical for a .NET StringBuilder
Date Sat, 04 Feb 2017 20:32:53 GMT
Lucene.Net.Analysis.Util.OpenStringBuilder refactor: Removed Flush() method because this seems
nonsensical for a .NET StringBuilder


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

Branch: refs/heads/api-work
Commit: f0791db788cff98cda1f089d99a631014b8e0cf6
Parents: b6c0998
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Sun Feb 5 02:48:58 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Sun Feb 5 03:29:09 2017 +0700

----------------------------------------------------------------------
 .../Analysis/Util/OpenStringBuilder.cs                         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f0791db7/src/Lucene.Net.Analysis.Common/Analysis/Util/OpenStringBuilder.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Util/OpenStringBuilder.cs b/src/Lucene.Net.Analysis.Common/Analysis/Util/OpenStringBuilder.cs
index b72f116..d2dbab0 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Util/OpenStringBuilder.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Util/OpenStringBuilder.cs
@@ -243,9 +243,9 @@ namespace Lucene.Net.Analysis.Util
             m_len += s.Length;
         }
 
-        public virtual void Flush()
-        {
-        }
+        //public virtual void Flush() // LUCENENET specific - removed because this doesn't
make much sense on a StringBuilder in .NET, and it is not used
+        //{
+        //}
 
         public void Reset()
         {


Mime
View raw message