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 2018/12/10 15:26:26 UTC

[incubator-plc4x] branch develop updated: Fixed the compilation error ... now the build should be unstable due to a failing test ...

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/incubator-plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new e9d2ad7  Fixed the compilation error ... now the build should be unstable due to a failing test ...
e9d2ad7 is described below

commit e9d2ad7107c036a093b9e674adadafa037710852
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Mon Dec 10 16:26:23 2018 +0100

    Fixed the compilation error ... now the build should be unstable due to a failing test ...
---
 .../api/src/main/java/org/apache/plc4x/java/PlcDriverManager.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/plc4j/api/src/main/java/org/apache/plc4x/java/PlcDriverManager.java b/plc4j/api/src/main/java/org/apache/plc4x/java/PlcDriverManager.java
index 46b9aea..1a433c7 100644
--- a/plc4j/api/src/main/java/org/apache/plc4x/java/PlcDriverManager.java
+++ b/plc4j/api/src/main/java/org/apache/plc4x/java/PlcDriverManager.java
@@ -39,10 +39,10 @@ public class PlcDriverManager {
         this(Thread.currentThread().getContextClassLoader());
     }
 
-    public PlcDriverManager(ClassLoader classLoader)
-        this.classLoader = classLoader
-    driverMap = new HashMap<>()
-    ServiceLoader<PlcDriver> plcDriverLoader = ServiceLoader.load(PlcDriver.class, classLoader);
+    public PlcDriverManager(ClassLoader classLoader) {
+        this.classLoader = classLoader;
+        driverMap = new HashMap<>();
+        ServiceLoader<PlcDriver> plcDriverLoader = ServiceLoader.load(PlcDriver.class, classLoader);
         for (PlcDriver driver : plcDriverLoader) {
             if (driverMap.containsKey(driver.getProtocolCode())) {
                 throw new IllegalStateException(