提交 1a9a082c 编写于 作者: X xuelei

7030523: regression: imporper checking of paramater

Reviewed-by: weijun
上级 1ef6b198
...@@ -64,7 +64,7 @@ public class KeyStoreBuilderParameters implements ManagerFactoryParameters { ...@@ -64,7 +64,7 @@ public class KeyStoreBuilderParameters implements ManagerFactoryParameters {
* @exception IllegalArgumentException if parameters is an empty list * @exception IllegalArgumentException if parameters is an empty list
*/ */
public KeyStoreBuilderParameters(List<Builder> parameters) { public KeyStoreBuilderParameters(List<Builder> parameters) {
if (this.parameters.isEmpty()) { if (parameters.isEmpty()) {
throw new IllegalArgumentException(); throw new IllegalArgumentException();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册