Let me know if there are any issues with what I've committed - I believe I've faithfully preserved backwards compatibility.
Erik
p.s. ...
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 :))
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]