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/09/06 14:12:33 UTC

[incubator-plc4x] branch feature/api-redesign-chris-c updated: [AZURE-Example] fixed compile issue in sample

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch feature/api-redesign-chris-c
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/feature/api-redesign-chris-c by this push:
     new 98e6336  [AZURE-Example] fixed compile issue in sample
98e6336 is described below

commit 98e6336dbcd6c5eb054cc63989f6acf199b7d10b
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Thu Sep 6 16:12:29 2018 +0200

    [AZURE-Example] fixed compile issue in sample
---
 .../plc4x/java/examples/azure/iothub/S7PlcToAzureIoTHubSample.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/azure/src/main/java/org/apache/plc4x/java/examples/azure/iothub/S7PlcToAzureIoTHubSample.java b/examples/azure/src/main/java/org/apache/plc4x/java/examples/azure/iothub/S7PlcToAzureIoTHubSample.java
index 7bb03ec..728e502 100644
--- a/examples/azure/src/main/java/org/apache/plc4x/java/examples/azure/iothub/S7PlcToAzureIoTHubSample.java
+++ b/examples/azure/src/main/java/org/apache/plc4x/java/examples/azure/iothub/S7PlcToAzureIoTHubSample.java
@@ -70,7 +70,7 @@ public class S7PlcToAzureIoTHubSample {
 
             while (!Thread.currentThread().isInterrupted()) {
                 // Simulate telemetry.
-                PlcReadResponse response = plcReader.read(request).get();
+                PlcReadResponse<?> response = plcReader.read(request).get();
                 response.getAllLongs(FIELD_NAME)
                     .forEach(longValue -> {
                             String result = Long.toBinaryString(longValue);