diff options
author | developerKurt <mustafakurt.business@gmail.com> | 2020-01-02 09:21:30 +0300 |
---|---|---|
committer | developerKurt <mustafakurt.business@gmail.com> | 2020-01-02 09:21:30 +0300 |
commit | a6ab28c8990d0506e20bb2c45ed9c6183a9b9594 (patch) | |
tree | ed0c8e2867a5f62416950e4b79d1a55a66b2e271 /src/main/java | |
parent | aff84ec3ae6faf7d930319329d8750634195445a (diff) | |
download | traccar-server-a6ab28c8990d0506e20bb2c45ed9c6183a9b9594.tar.gz traccar-server-a6ab28c8990d0506e20bb2c45ed9c6183a9b9594.tar.bz2 traccar-server-a6ab28c8990d0506e20bb2c45ed9c6183a9b9594.zip |
Fixed rest of the styling errors.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/helper/IpRetriever.java | 7 |
1 files 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 |