1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-25 16:01:38 +03:00

Checkstyle fixes.

This commit is contained in:
Jake Wharton
2013-05-05 21:19:08 -07:00
parent ffebb801bd
commit 43c55e393b
2 changed files with 3 additions and 3 deletions

View File

@@ -30,10 +30,10 @@ final class DistinguishedNameParser {
private int beg;
private int end;
/** tmp vars to store positions of the currently parsed item */
/** Temporary variable to store positions of the currently parsed item. */
private int cur;
/** distinguished name chars */
/** Distinguished name characters. */
private char[] chars;
public DistinguishedNameParser(X500Principal principal) {

View File

@@ -53,7 +53,7 @@ public final class OkHostnameVerifier implements HostnameVerifier {
private static final int ALT_DNS_NAME = 2;
private static final int ALT_IPA_NAME = 7;
public final boolean verify(String host, SSLSession session) {
public boolean verify(String host, SSLSession session) {
try {
Certificate[] certificates = session.getPeerCertificates();
return verify(host, (X509Certificate) certificates[0]);