Any comments about this? +1 for undeprecate these ctors in Token from my side.
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Uwe Schindler (JIRA) [mailto:j...@apache.org] > Sent: Friday, October 16, 2009 11:39 PM > To: java-dev@lucene.apache.org > Subject: [jira] Updated: (LUCENE-1987) Remove rest of analysis > deprecations (Token, CharacterCache) > > > [ https://issues.apache.org/jira/browse/LUCENE- > 1987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] > > Uwe Schindler updated LUCENE-1987: > ---------------------------------- > > Attachment: LUCENE-1987.patch > > Pastch with the first three points. The three deprecated methods should > stay alive in my opinion. Copying the string to the termbuffer in the ctor > is the same linke copying the initial termbuffer. If we remove these > ctors, we should also remove the setTermBuffer(String) method. This is no > consistency. > > If the others agree to keep these three ctors alive I will apply an > undeprecation in 2.9 branch. > > > Remove rest of analysis deprecations (Token, CharacterCache) > > ------------------------------------------------------------ > > > > Key: LUCENE-1987 > > URL: https://issues.apache.org/jira/browse/LUCENE-1987 > > Project: Lucene - Java > > Issue Type: Task > > Components: Analysis > > Reporter: Uwe Schindler > > Assignee: Uwe Schindler > > Fix For: 3.0 > > > > Attachments: LUCENE-1987.patch > > > > > > These removes the rest of the deprecations in the analysis package: > > - Token's termText field > > - eventually un-deprecate ctors of Token taking Strings (they are still > useful) -> if yes remove deprec in 2.9.1 > > - remove CharacterCache and use Character.valueOf() from Java5 > > - Some Analyzers have stopword lists in wrong format (HashMaps) > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org