Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrille Le Clerc committed Jan 15, 2019
1 parent 4527935 commit 779c299
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ private synchronized void ensureSyslogServerConnection() throws IOException {
writer = null;
try {
if (ssl) {
if(sslContext == null) {
socket = SSLSocketFactory.getDefault().createSocket();
} else {
socket = sslContext.getSocketFactory().createSocket();
}
if (sslContext == null) {
socket = SSLSocketFactory.getDefault().createSocket();
} else {
socket = sslContext.getSocketFactory().createSocket();
}
} else {
socket = SocketFactory.getDefault().createSocket();
}
Expand Down

0 comments on commit 779c299

Please sign in to comment.