Persian Arabic Analyzer cleanup ------------------------------- Key: LUCENE-1962 URL: https://issues.apache.org/jira/browse/LUCENE-1962 Project: Lucene - Java Issue Type: Improvement Components: contrib/analyzers Affects Versions: 2.9 Reporter: Simon Willnauer Assignee: Simon Willnauer Priority: Minor Fix For: 3.0 Attachments: LUCENE_1962.patch
While browsing through the code I found some places for minor improvements in the new Arabic / Persian Analyzer code. - prevent default stopwords from being loaded each time a default constructor is called - replace if blocks with a single switch - marking private members final where needed - changed protected visibility to final in final class. -- 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