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 3191dcb  - Try to avoid strange compilation error on Jenkins. - Set a 
version for the exec plugin to avoid a warning at the beginning of every build.
3191dcb is described below

commit 3191dcbb226f4f1b2349b6c78695d66e804242bf
Author: Christofer Dutz <[email protected]>
AuthorDate: Tue Sep 24 11:31:25 2019 +0200

    - Try to avoid strange compilation error on Jenkins.
    - Set a version for the exec plugin to avoid a warning at the beginning of 
every build.
---
 plc4j/integrations/logstash-plugin/pom.xml                              | 1 +
 .../plc4x/java/utils/pcapsockets/netty/PcapSocketChannelConfig.java     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/plc4j/integrations/logstash-plugin/pom.xml 
b/plc4j/integrations/logstash-plugin/pom.xml
index 1886a76..d415f21 100644
--- a/plc4j/integrations/logstash-plugin/pom.xml
+++ b/plc4j/integrations/logstash-plugin/pom.xml
@@ -150,6 +150,7 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>exec-maven-plugin</artifactId>
+        <version>1.6.0</version>
         <executions>
           <execution>
             <id>run-gem-build</id>
diff --git 
a/plc4j/utils/pcap-sockets/src/main/java/org/apache/plc4x/java/utils/pcapsockets/netty/PcapSocketChannelConfig.java
 
b/plc4j/utils/pcap-sockets/src/main/java/org/apache/plc4x/java/utils/pcapsockets/netty/PcapSocketChannelConfig.java
index 7896824..7ac5d64 100644
--- 
a/plc4j/utils/pcap-sockets/src/main/java/org/apache/plc4x/java/utils/pcapsockets/netty/PcapSocketChannelConfig.java
+++ 
b/plc4j/utils/pcap-sockets/src/main/java/org/apache/plc4x/java/utils/pcapsockets/netty/PcapSocketChannelConfig.java
@@ -57,7 +57,7 @@ public class PcapSocketChannelConfig extends 
DefaultChannelConfig implements Cha
             return false;
         } else if(option == PcapSocketChannelOption.SPEED_FACTOR) {
             if(value instanceof Float) {
-                speedFactor = (float) value;
+                speedFactor = (Float) value;
                 if(speedFactor > 0) {
                     return true;
                 }

Reply via email to