changeset 10869:c17ad02a6268

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 b0f9f132b59c
children 57d07aa0a0eb
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	Fri Oct 17 12:20:34 2014 +0200
+++ 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,