Skip to content

Commit

Permalink
okhttp: whitespace around '-' operator
Browse files Browse the repository at this point in the history
  • Loading branch information
OnlyInAmerica committed Apr 2, 2018
1 parent 5fd7dfd commit 1065eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion okhttp/src/main/java/io/grpc/okhttp/OkHttpTlsUpgrader.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static SSLSocket upgrade(SSLSocketFactory sslSocketFactory,
@VisibleForTesting
static String canonicalizeHost(String host) {
if (host.startsWith("[") && host.endsWith("]")) {
return host.substring(1, host.length()-1);
return host.substring(1, host.length() - 1);
}
return host;
}
Expand Down

0 comments on commit 1065eb0

Please sign in to comment.