lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Visibility of RegexCapabilities interface?
Date Tue, 06 Mar 2007 19:27:10 GMT

:    PFRegexCapabilities.java:3:
: org.apache.lucene.search.regex.RegexCapabilities is not public in
: org.apache.lucene.search.regex; cannot be accessed from outside package

It looks like this *may* have been a mistake, the commit message says
"Many javadoc additions, and adding ASL to each file" ...

http://svn.apache.org/viewvc/lucene/java/trunk/contrib/regex/src/java/org/apache/lucene/search/regex/RegexCapabilities.java?r1=359526&r2=381108

...but one other interfaces changed from being public to package
protecte at the same time: RegexQueryCapable ... so it's not clear to me
wether this was a concious choice to "protect" the API or not.

Erik?

: RegexCapabilities interface, the only way I can see to get this to work
: is to make this interface public.  Is that a reasonable thing to do with
: this interface?  If so, perhaps the attached patch will do the trick.

well, you could also put your RegexCapabilities instance in the lucene
package if you didn't wnat to have to recompile .. but if the change was
intentional there may be a reason why that's not a good idea either.


-Hoss


---------------------------------------------------------------------
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