You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by hu...@apache.org on 2023/05/11 17:32:10 UTC

[plc4x] branch develop updated: fix(plc4j/profinet): Sonar fix issue with changed name of parameter

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new e57df53af3 fix(plc4j/profinet): Sonar fix issue with changed name of parameter
e57df53af3 is described below

commit e57df53af3a0d97bd16af71c3b492ac791a02cda
Author: Ben Hutcheson <be...@gmail.com>
AuthorDate: Thu May 11 19:27:06 2023 +0200

    fix(plc4j/profinet): Sonar fix issue with changed name of parameter
---
 .../java/org/apache/plc4x/java/profinet/device/ProfinetChannel.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4j/drivers/profinet/src/main/java/org/apache/plc4x/java/profinet/device/ProfinetChannel.java b/plc4j/drivers/profinet/src/main/java/org/apache/plc4x/java/profinet/device/ProfinetChannel.java
index 4123f0adc7..d9ed9f0db2 100644
--- a/plc4j/drivers/profinet/src/main/java/org/apache/plc4x/java/profinet/device/ProfinetChannel.java
+++ b/plc4j/drivers/profinet/src/main/java/org/apache/plc4x/java/profinet/device/ProfinetChannel.java
@@ -217,7 +217,7 @@ public class ProfinetChannel {
     }
 
     public void setConfiguredDevices(Map<String, ProfinetDevice> configuredDevices) {
-        this.devices = devices;
+        this.devices = configuredDevices;
     }
 
     private static MacAddress toPlc4xMacAddress(org.pcap4j.util.MacAddress pcap4jMacAddress) {