From 569ddab8680fda24f326284c864ea0d53d559b22 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 20 Oct 2014 13:31:44 +0000 Subject: [PATCH] 8061464: A typo in CipherTestUtils test Reviewed-by: xuelei --- jdk/test/javax/net/ssl/TLS/CipherTestUtils.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jdk/test/javax/net/ssl/TLS/CipherTestUtils.java b/jdk/test/javax/net/ssl/TLS/CipherTestUtils.java index 79a8db6ad42..777c21ddefd 100644 --- a/jdk/test/javax/net/ssl/TLS/CipherTestUtils.java +++ b/jdk/test/javax/net/ssl/TLS/CipherTestUtils.java @@ -261,20 +261,20 @@ public class CipherTestUtils { } } - 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,