changeset 4043:b921112e39d3

7030523: regression: imporper checking of paramater Reviewed-by: weijun
author xuelei
date Wed, 23 Mar 2011 20:25:43 -0700
parents 3fee1c67bd10
children 65e7fddf517f
files src/share/classes/javax/net/ssl/KeyStoreBuilderParameters.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/net/ssl/KeyStoreBuilderParameters.java	Wed Mar 23 20:07:46 2011 -0700
+++ b/src/share/classes/javax/net/ssl/KeyStoreBuilderParameters.java	Wed Mar 23 20:25:43 2011 -0700
@@ -64,7 +64,7 @@
      * @exception IllegalArgumentException if parameters is an empty list
      */
     public KeyStoreBuilderParameters(List<Builder> parameters) {
-        if (this.parameters.isEmpty()) {
+        if (parameters.isEmpty()) {
             throw new IllegalArgumentException();
         }