100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Fixed compiler warnings
Christian Bauera59f73e7866b
diff --git a/client/src/main/java/org/openremote/app/client/assets/asset/AssetViewActivity.java b/client/src/main/java/org/openremote/app/client/assets/asset/AssetViewActivity.javaindex 76455172c..4e146710b 100644--- a/client/src/main/java/org/openremote/app/client/assets/asset/AssetViewActivity.java+++ b/client/src/main/java/org/openremote/app/client/assets/asset/AssetViewActivity.java@@ -187,7 +187,7 @@ public class AssetViewActivityif (subscribe) {environment.getEventService().subscribe(AttributeEvent.class,- new AssetEvent.AssetIdFilter(asset.getId())+ new AssetEvent.AssetIdFilter<>(asset.getId()));} else {environment.getEventService().unsubscribe(@@ -242,9 +242,7 @@ public class AssetViewActivity} else {AgentLink.getAgentLink(assetAttribute).filter(agentLink -> agentLink.equals(event.getProtocolConfiguration()))- .ifPresent(agentLink -> {- attributeView.setStatus(event.getConnectionStatus());- });+ .ifPresent(agentLink -> attributeView.setStatus(event.getConnectionStatus()));}}diff --git a/client/src/main/java/org/openremote/app/client/map/MapActivity.java b/client/src/main/java/org/openremote/app/client/map/MapActivity.javaindex b42a3fbcd..dc3f328a5 100644--- a/client/src/main/java/org/openremote/app/client/map/MapActivity.java+++ b/client/src/main/java/org/openremote/app/client/map/MapActivity.java@@ -181,7 +181,7 @@ public class MapActivity extends AssetBrowsingActivity<MapPlace> implements MapVshowAssetInfoItems();environment.getEventService().subscribe(AttributeEvent.class,- new AssetEvent.AssetIdFilter(asset.getId())+ new AssetEvent.AssetIdFilter<>(asset.getId()));}});