lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: LowerCaseFilter, is there a reason why the class is final?
Date Thu, 10 Sep 2009 14:08:53 GMT
See https://issues.apache.org/jira/browse/LUCENE-1753

In general, if you want to add functionality plug another filter into the
chain. At least the implementations should be final (next/incrementToken).

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Daniel Shane [mailto:shaned@LEXUM.UMontreal.CA]
> Sent: Thursday, September 10, 2009 4:06 PM
> To: java-dev@lucene.apache.org
> Subject: LowerCaseFilter, is there a reason why the class is final?
> 
> Hi all,
> 
> I was wondering why the LowerCaseFilter is declared final? In my code, I
> would like to extend it but apparently its not possible. I'm just
> wondering why extending this type of class is considered evil?
> 
> Daniel Shane
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message