changeset 11456:5e6c76065a90

8061464: A typo in CipherTestUtils test Reviewed-by: xuelei Contributed-by: Florian Weimer <fweimer@redhat.com>
author xuelei
date Mon, 20 Oct 2014 13:31:44 +0000
parents 98a11082c8ff
children 7a1127d6ce9c
files test/javax/net/ssl/TLS/CipherTestUtils.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/net/ssl/TLS/CipherTestUtils.java	Tue Sep 02 05:48:55 2014 +0000
+++ b/test/javax/net/ssl/TLS/CipherTestUtils.java	Mon Oct 20 13:31:44 2014 +0000
@@ -261,20 +261,20 @@
         }
     }
 
-    private static volatile CipherTestUtils instnace = null;
+    private static volatile CipherTestUtils instance = null;
 
     public static CipherTestUtils getInstance() throws IOException,
             FileNotFoundException, KeyStoreException,
             NoSuchAlgorithmException, CertificateException,
             UnrecoverableKeyException, InvalidKeySpecException {
-        if (instnace == null) {
+        if (instance == null) {
             synchronized (CipherTestUtils.class) {
-                if (instnace == null) {
-                    instnace = new CipherTestUtils();
+                if (instance == null) {
+                    instance = new CipherTestUtils();
                 }
             }
         }
-        return instnace;
+        return instance;
     }
 
     public static void setTestedArguments(String testedProtocol,