You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2017/02/21 14:59:27 UTC
[2/4] incubator-edgent git commit: undo inadvertent change
undo inadvertent change
Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/983a53b4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/983a53b4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/983a53b4
Branch: refs/heads/master
Commit: 983a53b4f20fafd385d6b4924032655ac053f8c1
Parents: ede6004
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Mon Feb 20 18:02:07 2017 -0500
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Mon Feb 20 18:02:07 2017 -0500
----------------------------------------------------------------------
.../apache/edgent/connectors/iotp/runtime/IotpConnector.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/983a53b4/connectors/iotp/src/main/java/org/apache/edgent/connectors/iotp/runtime/IotpConnector.java
----------------------------------------------------------------------
diff --git a/connectors/iotp/src/main/java/org/apache/edgent/connectors/iotp/runtime/IotpConnector.java b/connectors/iotp/src/main/java/org/apache/edgent/connectors/iotp/runtime/IotpConnector.java
index 998222f..7ece528 100644
--- a/connectors/iotp/src/main/java/org/apache/edgent/connectors/iotp/runtime/IotpConnector.java
+++ b/connectors/iotp/src/main/java/org/apache/edgent/connectors/iotp/runtime/IotpConnector.java
@@ -102,10 +102,7 @@ public class IotpConnector implements Serializable, AutoCloseable {
throw new RuntimeException(e);
}
- boolean success = client.publishEvent(eventId, event, qos);
- if (!success) {
- // TODO log
- }
+ client.publishEvent(eventId, event, qos);
}
void publishHttpEvent(String eventId, JsonObject event) {