From a6ab28c8990d0506e20bb2c45ed9c6183a9b9594 Mon Sep 17 00:00:00 2001 From: developerKurt Date: Thu, 2 Jan 2020 09:21:30 +0300 Subject: Fixed rest of the styling errors. --- src/main/java/org/traccar/helper/IpRetriever.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/traccar/helper/IpRetriever.java b/src/main/java/org/traccar/helper/IpRetriever.java index 814a78a4b..ff211d181 100644 --- a/src/main/java/org/traccar/helper/IpRetriever.java +++ b/src/main/java/org/traccar/helper/IpRetriever.java @@ -27,12 +27,15 @@ public final class IpRetriever { return ipAddress; } - } else return null; + } else { + return null; + } } /** - * If the server is behind a reverse proxy, the header value will also contain the IP's from load balancer and reverse proxy + * If the server is behind a reverse proxy, the header value will also + * contain the IP's from load balancer and reverse proxy. * This method gets rid of them. * * @param ipAddress IP address value from the header -- cgit v1.2.3