You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jf...@apache.org on 2018/11/01 11:17:35 UTC
[incubator-plc4x] 04/05: Minor fix in the HelloOpm.java example.
This is an automated email from the ASF dual-hosted git repository.
jfeinauer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
commit 1f2d4d8da2677d42348992d309358c19f485631b
Author: julian <j....@pragmaticminds.de>
AuthorDate: Thu Nov 1 12:16:28 2018 +0100
Minor fix in the HelloOpm.java example.
---
.../main/java/org/apache/plc4x/java/examples/helloplc4x/HelloOpm.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/HelloOpm.java b/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/HelloOpm.java
index 2925fe1..99c90bb 100644
--- a/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/HelloOpm.java
+++ b/examples/hello-world-plc4x/src/main/java/org/apache/plc4x/java/examples/helloplc4x/HelloOpm.java
@@ -52,6 +52,8 @@ public class HelloOpm {
helloOpm.readValueFromPlcUsingConnectedEntity();
// Do a fetch via read
helloOpm.readValueFromPlcUsingRead();
+ // Stop the application
+ System.exit(0);
}
public HelloOpm() {