提交 299de31d 编写于 作者: X xuelei

7199066: Typo in method name

Reviewed-by: mullan
上级 ae27291b
...@@ -266,7 +266,7 @@ public abstract class SSLContextImpl extends SSLContextSpi { ...@@ -266,7 +266,7 @@ public abstract class SSLContextImpl extends SSLContextSpi {
} }
// Get suported CipherSuiteList. // Get suported CipherSuiteList.
CipherSuiteList getSuportedCipherSuiteList() { CipherSuiteList getSupportedCipherSuiteList() {
// The maintenance of cipher suites needs to be synchronized. // The maintenance of cipher suites needs to be synchronized.
synchronized (this) { synchronized (this) {
// Clear cache of available ciphersuites. // Clear cache of available ciphersuites.
......
...@@ -1978,7 +1978,7 @@ final public class SSLEngineImpl extends SSLEngine { ...@@ -1978,7 +1978,7 @@ final public class SSLEngineImpl extends SSLEngine {
* @return an array of cipher suite names * @return an array of cipher suite names
*/ */
public String[] getSupportedCipherSuites() { public String[] getSupportedCipherSuites() {
return sslContext.getSuportedCipherSuiteList().toStringArray(); return sslContext.getSupportedCipherSuiteList().toStringArray();
} }
/** /**
......
/* /*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -113,7 +113,7 @@ public class SSLServerSocketFactoryImpl extends SSLServerSocketFactory ...@@ -113,7 +113,7 @@ public class SSLServerSocketFactoryImpl extends SSLServerSocketFactory
* @return an array of cipher suite names * @return an array of cipher suite names
*/ */
public String[] getSupportedCipherSuites() { public String[] getSupportedCipherSuites() {
return context.getSuportedCipherSuiteList().toStringArray(); return context.getSupportedCipherSuiteList().toStringArray();
} }
} }
/* /*
* Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -168,7 +168,7 @@ class SSLServerSocketImpl extends SSLServerSocket ...@@ -168,7 +168,7 @@ class SSLServerSocketImpl extends SSLServerSocket
* @return an array of cipher suite names * @return an array of cipher suite names
*/ */
public String[] getSupportedCipherSuites() { public String[] getSupportedCipherSuites() {
return sslContext.getSuportedCipherSuiteList().toStringArray(); return sslContext.getSupportedCipherSuiteList().toStringArray();
} }
/** /**
......
/* /*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -177,6 +177,6 @@ final public class SSLSocketFactoryImpl extends SSLSocketFactory { ...@@ -177,6 +177,6 @@ final public class SSLSocketFactoryImpl extends SSLSocketFactory {
* certain kinds of certificates to use certain cipher suites. * certain kinds of certificates to use certain cipher suites.
*/ */
public String[] getSupportedCipherSuites() { public String[] getSupportedCipherSuites() {
return context.getSuportedCipherSuiteList().toStringArray(); return context.getSupportedCipherSuiteList().toStringArray();
} }
} }
...@@ -2353,7 +2353,7 @@ final public class SSLSocketImpl extends BaseSSLSocketImpl { ...@@ -2353,7 +2353,7 @@ final public class SSLSocketImpl extends BaseSSLSocketImpl {
* @return an array of cipher suite names * @return an array of cipher suite names
*/ */
public String[] getSupportedCipherSuites() { public String[] getSupportedCipherSuites() {
return sslContext.getSuportedCipherSuiteList().toStringArray(); return sslContext.getSupportedCipherSuiteList().toStringArray();
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册