mirror of https://github.com/apache/lucene.git
adding utility function clear() to ModifiableSolrParams
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548247 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
92cb5f09ba
commit
1981c7ab29
|
@ -109,6 +109,12 @@ public class ModifiableSolrParams extends SolrParams
|
|||
return vals.remove( name );
|
||||
}
|
||||
|
||||
/** clear all parameters */
|
||||
public void clear()
|
||||
{
|
||||
vals.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* remove the given value for the given name
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue