aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/helper
diff options
context:
space:
mode:
authordeveloperKurt <mustafakurt.business@gmail.com>2020-01-02 09:21:30 +0300
committerdeveloperKurt <mustafakurt.business@gmail.com>2020-01-02 09:21:30 +0300
commita6ab28c8990d0506e20bb2c45ed9c6183a9b9594 (patch)
treeed0c8e2867a5f62416950e4b79d1a55a66b2e271 /src/main/java/org/traccar/helper
parentaff84ec3ae6faf7d930319329d8750634195445a (diff)
downloadtrackermap-server-a6ab28c8990d0506e20bb2c45ed9c6183a9b9594.tar.gz
trackermap-server-a6ab28c8990d0506e20bb2c45ed9c6183a9b9594.tar.bz2
trackermap-server-a6ab28c8990d0506e20bb2c45ed9c6183a9b9594.zip
Fixed rest of the styling errors.
Diffstat (limited to 'src/main/java/org/traccar/helper')
-rw-r--r--src/main/java/org/traccar/helper/IpRetriever.java7
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