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

commit 1e88f7cbe807bac15fb04b55be5c2a2b2535f8a3
Author: Shad Storhaug <[email protected]>
AuthorDate: Mon Feb 22 04:27:50 2021 +0700

    Lucene.Net.Index.Term: Added TODO about converting Text() to a property 
(#259)
---
 src/Lucene.Net/Index/Term.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Lucene.Net/Index/Term.cs b/src/Lucene.Net/Index/Term.cs
index 3183474..34bc92c 100644
--- a/src/Lucene.Net/Index/Term.cs
+++ b/src/Lucene.Net/Index/Term.cs
@@ -1,4 +1,4 @@
-using J2N.Text;
+using J2N.Text;
 using System;
 using System.Text;
 
@@ -84,7 +84,7 @@ namespace Lucene.Net.Index
         /// text of the word.  In the case of dates and other types, this is an
         /// encoding of the object as a string.
         /// </summary>
-        public string Text()
+        public string Text() // LUCENENET TODO: API - Change to a property. 
While this calls a method internally, its expected usage is that it will return 
a deterministic value.
         {
             return ToString(Bytes);
         }

Reply via email to