This is an automated email from the ASF dual-hosted git repository.

jmclean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
     new ac10e6e  one statement per line (sonarqube)
ac10e6e is described below

commit ac10e6ebb8e338a479f1e3458dc48a633fd4a365
Author: Justin Mclean <jmcl...@apache.org>
AuthorDate: Tue Feb 20 11:42:04 2018 +1100

    one statement per line (sonarqube)
---
 .../commands/ADSAddDeviceNotificationRequest.java  | 28 +++++++++++++++-------
 1 file changed, 19 insertions(+), 9 deletions(-)

diff --git 
a/plc4j/protocols/ads/src/main/java/org/apache/plc4x/java/ads/api/commands/ADSAddDeviceNotificationRequest.java
 
b/plc4j/protocols/ads/src/main/java/org/apache/plc4x/java/ads/api/commands/ADSAddDeviceNotificationRequest.java
index b04d69a..7e96a3c 100644
--- 
a/plc4j/protocols/ads/src/main/java/org/apache/plc4x/java/ads/api/commands/ADSAddDeviceNotificationRequest.java
+++ 
b/plc4j/protocols/ads/src/main/java/org/apache/plc4x/java/ads/api/commands/ADSAddDeviceNotificationRequest.java
@@ -145,18 +145,28 @@ public class ADSAddDeviceNotificationRequest extends 
ADSAbstractRequest {
 
     @Override
     public boolean equals(Object o) {
-        if (this == o) return true;
-        if (!(o instanceof ADSAddDeviceNotificationRequest)) return false;
-        if (!super.equals(o)) return false;
+        if (this == o)
+            return true;
+        if (!(o instanceof ADSAddDeviceNotificationRequest))
+            return false;
+        if (!super.equals(o))
+            return false;
 
         ADSAddDeviceNotificationRequest that = 
(ADSAddDeviceNotificationRequest) o;
 
-        if (!indexGroup.equals(that.indexGroup)) return false;
-        if (!indexOffset.equals(that.indexOffset)) return false;
-        if (!length.equals(that.length)) return false;
-        if (!transmissionMode.equals(that.transmissionMode)) return false;
-        if (!maxDelay.equals(that.maxDelay)) return false;
-        if (!cycleTime.equals(that.cycleTime)) return false;
+        if (!indexGroup.equals(that.indexGroup))
+            return false;
+        if (!indexOffset.equals(that.indexOffset))
+            return false;
+        if (!length.equals(that.length))
+            return false;
+        if (!transmissionMode.equals(that.transmissionMode))
+            return false;
+        if (!maxDelay.equals(that.maxDelay))
+            return false;
+        if (!cycleTime.equals(that.cycleTime))
+            return false;
+
         return reserved.equals(that.reserved);
     }
 

-- 
To stop receiving notification emails like this one, please contact
jmcl...@apache.org.

Reply via email to