You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2018/07/26 11:38:59 UTC
[incubator-plc4x] 01/05: removed unsused method (cleanup for
6adebdf)
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
commit 5f3d7ab9371959b75fbab2768cc8deb4dc046cd8
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Thu Jul 19 16:15:58 2018 +0200
removed unsused method (cleanup for 6adebdf)
---
.../apache/plc4x/java/modbus/netty/Plc4XModbusProtocolTest.java | 7 -------
1 file changed, 7 deletions(-)
diff --git a/plc4j/protocols/modbus/src/test/java/org/apache/plc4x/java/modbus/netty/Plc4XModbusProtocolTest.java b/plc4j/protocols/modbus/src/test/java/org/apache/plc4x/java/modbus/netty/Plc4XModbusProtocolTest.java
index d7dd942..42b882e 100644
--- a/plc4j/protocols/modbus/src/test/java/org/apache/plc4x/java/modbus/netty/Plc4XModbusProtocolTest.java
+++ b/plc4j/protocols/modbus/src/test/java/org/apache/plc4x/java/modbus/netty/Plc4XModbusProtocolTest.java
@@ -393,13 +393,6 @@ public class Plc4XModbusProtocolTest {
}
}
- private <T> void assertPayloadDependentEquals(Class<T> expectedType, Object actual, T expected) {
- if (!payloadClazzName.equalsIgnoreCase(expectedType.getSimpleName())) {
- return;
- }
- assertThat(actual, equalTo(expected));
- }
-
private void syncInvoiceId() throws Exception {
Field transactionId = SUT.getClass().getDeclaredField("transactionId");
transactionId.setAccessible(true);