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 2022/10/26 11:15:00 UTC

[lucenenet] branch master updated: Lucene.Net.Analysis.Token: Removed extra code in default constructor

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


The following commit(s) were added to refs/heads/master by this push:
     new e281a0d3a Lucene.Net.Analysis.Token: Removed extra code in default constructor
e281a0d3a is described below

commit e281a0d3ae2b61ff128463325cf09bb74021a38f
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Wed Oct 26 18:14:55 2022 +0700

    Lucene.Net.Analysis.Token: Removed extra code in default constructor
---
 src/Lucene.Net/Analysis/Token.cs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/Lucene.Net/Analysis/Token.cs b/src/Lucene.Net/Analysis/Token.cs
index 031d4f32c..78a92add2 100644
--- a/src/Lucene.Net/Analysis/Token.cs
+++ b/src/Lucene.Net/Analysis/Token.cs
@@ -131,8 +131,6 @@ namespace Lucene.Net.Analysis
         /// Constructs a <see cref="Token"/> will null text. </summary>
         public Token()
         {
-            string s = "fooobar";
-            s.ToCharArray();
         }
 
         /// <summary>
@@ -688,4 +686,4 @@ namespace Lucene.Net.Analysis
             }
         }
     }
-}
\ No newline at end of file
+}