[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-dev
Subject: Re: svn commit: r156600 - in lucene/java/trunk/src: java/org/apache/lucene/queryParser/precedence/Pr
From: Daniel Naber <daniel.naber () t-online ! de>
Date: 2005-03-09 14:37:56
Message-ID: 200503091537.56279.daniel.naber () t-online ! de
[Download RAW message or body]
On Wednesday 09 March 2005 10:52, Erik Hatcher wrote:
> It's a nuisance to have that static method when making a subclass of
> QueryParser - since static methods are not overridable it would be easy
> to mistakenly call the parent static parse method which would
> instantiate QueryParser rather than QueryParserSubclass.
Sorry, I still don't understand: I just implemented MyQueryParser which
extends QueryParser as a test that has a method static public Query
parse(String expression, String field, Analyzer analyzer). When I call
MyQueryParser.parse(...), my method is called, as I would have expected.
regards
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic