aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/model/WifiAccessPoint.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/model/WifiAccessPoint.java')
-rw-r--r--src/main/java/org/traccar/model/WifiAccessPoint.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/model/WifiAccessPoint.java b/src/main/java/org/traccar/model/WifiAccessPoint.java
index fa7be8700..e28c1b935 100644
--- a/src/main/java/org/traccar/model/WifiAccessPoint.java
+++ b/src/main/java/org/traccar/model/WifiAccessPoint.java
@@ -67,8 +67,12 @@ public class WifiAccessPoint {
@Override
public boolean equals(Object o) {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
WifiAccessPoint that = (WifiAccessPoint) o;
return Objects.equals(macAddress, that.macAddress)
&& Objects.equals(signalStrength, that.signalStrength)