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
Add missing accessPublicRead property in hashCode and equals methods (#2631)
Koenb36492b94bbe
diff --git a/model/src/main/java/org/openremote/model/gateway/GatewayAssetSyncRule.java b/model/src/main/java/org/openremote/model/gateway/GatewayAssetSyncRule.javaindex 574fc23a4..9284ada57 100644--- a/model/src/main/java/org/openremote/model/gateway/GatewayAssetSyncRule.java+++ b/model/src/main/java/org/openremote/model/gateway/GatewayAssetSyncRule.java@@ -76,11 +76,14 @@ public class GatewayAssetSyncRule {if (this == o) return true;if (o == null || getClass() != o.getClass()) return false;GatewayAssetSyncRule that = (GatewayAssetSyncRule) o;- return Objects.equals(excludeAttributes, that.excludeAttributes) && Objects.equals(excludeAttributeMeta, that.excludeAttributeMeta) && Objects.equals(addAttributeMeta, that.addAttributeMeta);+ return Objects.equals(accessPublicRead, that.accessPublicRead)+ && Objects.equals(excludeAttributes, that.excludeAttributes)+ && Objects.equals(excludeAttributeMeta, that.excludeAttributeMeta)+ && Objects.equals(addAttributeMeta, that.addAttributeMeta);}@Overridepublic int hashCode() {- return Objects.hash(excludeAttributes, excludeAttributeMeta, addAttributeMeta);+ return Objects.hash(accessPublicRead, excludeAttributes, excludeAttributeMeta, addAttributeMeta);}}