You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jf...@apache.org on 2018/11/23 11:46:40 UTC

[incubator-plc4x] branch develop updated: Changed Squid Number in PlcEntityInterceptor.java.

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 90b6f36  Changed Squid Number in PlcEntityInterceptor.java.
90b6f36 is described below

commit 90b6f369cb0e5ae56e1706009c872eadfc866f6c
Author: Julian Feinauer <j....@pragmaticminds.de>
AuthorDate: Fri Nov 23 12:46:36 2018 +0100

    Changed Squid Number in PlcEntityInterceptor.java.
---
 .../src/main/java/org/apache/plc4x/java/opm/PlcEntityInterceptor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/PlcEntityInterceptor.java b/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/PlcEntityInterceptor.java
index f41f7c5..7aee487 100644
--- a/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/PlcEntityInterceptor.java
+++ b/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/PlcEntityInterceptor.java
@@ -302,7 +302,7 @@ public class PlcEntityInterceptor {
         }
     }
 
-    @SuppressWarnings("squid:S3776") // Cognitive Complexity not too high, as highly structured
+    @SuppressWarnings({"squid:S3776", "squid:MethodCyclomaticComplexity"}) // Cognitive Complexity not too high, as highly structured
     static Object getTyped(Class<?> clazz, PlcReadResponse response, String sourceFieldName) {
         LOGGER.debug("getTyped clazz: {}, response: {}, fieldName: {}", clazz, response, sourceFieldName);
         if (response.getResponseCode(sourceFieldName) != PlcResponseCode.OK) {