You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2022/03/31 15:45:19 UTC
[plc4x] branch develop updated: fix(plc4j/s7): Removed some silly code I addded to provoke errors.
This is an automated email from the ASF dual-hosted git repository.
cdutz 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 4a771d3 fix(plc4j/s7): Removed some silly code I addded to provoke errors.
4a771d3 is described below
commit 4a771d31332f780dda7888dc6e64f25075c23cac
Author: cdutz <ch...@c-ware.de>
AuthorDate: Thu Mar 31 17:45:09 2022 +0200
fix(plc4j/s7): Removed some silly code I addded to provoke errors.
---
.../org/apache/plc4x/java/s7/readwrite/context/S7DriverContext.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/plc4j/drivers/s7/src/main/java/org/apache/plc4x/java/s7/readwrite/context/S7DriverContext.java b/plc4j/drivers/s7/src/main/java/org/apache/plc4x/java/s7/readwrite/context/S7DriverContext.java
index b5b0abc..dd89648 100644
--- a/plc4j/drivers/s7/src/main/java/org/apache/plc4x/java/s7/readwrite/context/S7DriverContext.java
+++ b/plc4j/drivers/s7/src/main/java/org/apache/plc4x/java/s7/readwrite/context/S7DriverContext.java
@@ -66,8 +66,6 @@ public class S7DriverContext implements DriverContext, HasConfiguration<S7Config
// I have never seen this happen in reality. Making is smaller would unnecessarily limit the
// size, so we're setting it to the maximum that can be included.
this.pduSize = cotpTpduSize.getSizeInBytes() - 16;
-
- throw new RuntimeException("Hutz");
}
this.maxAmqCaller = configuration.maxAmqCaller;