From 779c29956abfc6b53ebdc9074d38debebfb9eed5 Mon Sep 17 00:00:00 2001 From: Cyrille Le Clerc Date: Tue, 15 Jan 2019 21:04:30 +0100 Subject: [PATCH] reformat --- .../syslog/sender/TcpSyslogMessageSender.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/cloudbees/syslog/sender/TcpSyslogMessageSender.java b/src/main/java/com/cloudbees/syslog/sender/TcpSyslogMessageSender.java index b1d8c98..30859c6 100644 --- a/src/main/java/com/cloudbees/syslog/sender/TcpSyslogMessageSender.java +++ b/src/main/java/com/cloudbees/syslog/sender/TcpSyslogMessageSender.java @@ -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(); }