paulirwin opened a new issue, #1038:
URL: https://github.com/apache/lucenenet/issues/1038

   There doesn't seem to be a good reason to force implementations to define 
`SetLength()`, since it should just cascade the call to the setter of `Length`. 
We should remove this from the interface and make this method into an extension 
method on `ICharTermAttribute` (in a 
`Lucene.Net.Analysis.TokenAttributes.Extensions` namespace). It should also be 
made to return the type of `ICharTermAttribute` it is called upon rather than 
the interface type.
   
   _Originally posted by @NightOwl888 in 
https://github.com/apache/lucenenet/pull/1028#discussion_r1848165854_
               


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to