提交 4dec8bf3 编写于 作者: X xuelei

8061464: A typo in CipherTestUtils test

Reviewed-by: xuelei
Contributed-by: NFlorian Weimer <fweimer@redhat.com>
上级 283de757
...@@ -261,20 +261,20 @@ public class CipherTestUtils { ...@@ -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, public static CipherTestUtils getInstance() throws IOException,
FileNotFoundException, KeyStoreException, FileNotFoundException, KeyStoreException,
NoSuchAlgorithmException, CertificateException, NoSuchAlgorithmException, CertificateException,
UnrecoverableKeyException, InvalidKeySpecException { UnrecoverableKeyException, InvalidKeySpecException {
if (instnace == null) { if (instance == null) {
synchronized (CipherTestUtils.class) { synchronized (CipherTestUtils.class) {
if (instnace == null) { if (instance == null) {
instnace = new CipherTestUtils(); instance = new CipherTestUtils();
} }
} }
} }
return instnace; return instance;
} }
public static void setTestedArguments(String testedProtocol, public static void setTestedArguments(String testedProtocol,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册