8061464: A typo in CipherTestUtils test
authorxuelei
Mon, 20 Oct 2014 13:31:44 +0000
changeset 27180 8c2a590d464f
parent 27179 eb37413280cb
child 27181 29f9c4f56e80
8061464: A typo in CipherTestUtils test Reviewed-by: xuelei Contributed-by: Florian Weimer <fweimer@redhat.com>
jdk/test/javax/net/ssl/TLS/CipherTestUtils.java
--- a/jdk/test/javax/net/ssl/TLS/CipherTestUtils.java	Fri Oct 17 12:20:34 2014 +0200
+++ b/jdk/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,