Kevin - I've made this change and committed it, using a Set.Great... I'll take a look!
Let me know if there are any issues with what I've committed - I believe I've faithfully preserved backwards compatibility.
p.s. ...Crap... good point.. Actually that was the FIRST thing I checked but my javadoc index wasn't up to date... long story. Actually I was pissed to find out that it didn't implement a map interface... :)
On Mar 9, 2004, at 2:00 PM, Kevin A. Burton wrote:
public StopFilter(TokenStream in, Hashtable stopTable) { super(in); map = new HashMap();
Enumeration keys = stopTable.keys(); while ( keys.hasMoreElements() ) { Object key = keys.nextElement(); map.put( key, stopTable.get( key ) ); }
By the way, the ctor to HashMap can take a Map, which Hashtable is also :))
--
Please reply using PGP.
http://peerfear.org/pubkey.asc NewsMonster - http://www.newsmonster.org/
Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
AIM/YIM - sfburtonator, Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
IRC - freenode.net #infoanarchy | #p2p-hackers | #newsmonster
begin:vcard fn:Kevin Burton n:Burton;Kevin email;internet:[EMAIL PROTECTED] x-mozilla-html:TRUE version:2.1 end:vcard
signature.asc
Description: OpenPGP digital signature