Fix Logger use
[openflowjava.git] / simple-client / src / main / java / org / opendaylight / openflowjava / protocol / impl / clients / UdpSimpleClient.java
index e9d69da1224d056312f442eeb9e5ae46dadf34bb..e9d4644e174079273f528619b1a84214ddb63588 100644 (file)
@@ -111,8 +111,7 @@ public class UdpSimpleClient implements OFClient {
         int port;
         UdpSimpleClient sc;
         if (args.length != 2) {
-            LOGGER.error("Usage: " + UdpSimpleClient.class.getSimpleName()
-                    + " <host> <port>");
+            LOGGER.error("Usage: {} <host> <port>", UdpSimpleClient.class.getSimpleName());
             LOGGER.error("Trying to use default setting.");
             InetAddress ia = InetAddress.getLocalHost();
             InetAddress[] all = InetAddress.getAllByName(ia.getHostName());
@@ -147,4 +146,4 @@ public class UdpSimpleClient implements OFClient {
     public void setSecuredClient(boolean securedClient) {
         // TODO: Finish implementation when DTLS is supported
     }
-}
\ No newline at end of file
+}