7030523: regression: imporper checking of paramater

Reviewed-by: weijun
This commit is contained in:
Xue-Lei Andrew Fan 2011-03-23 20:25:43 -07:00
parent ffb4670468
commit 6241ea3004

View File

@ -64,7 +64,7 @@ public class KeyStoreBuilderParameters implements ManagerFactoryParameters {
* @exception IllegalArgumentException if parameters is an empty list
*/
public KeyStoreBuilderParameters(List<Builder> parameters) {
if (this.parameters.isEmpty()) {
if (parameters.isEmpty()) {
throw new IllegalArgumentException();
}