浏览代码

fix error

zhou-hao 3 年之前
父节点
当前提交
1d0514292e

+ 1 - 1
jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/message/DefaultDeviceDataManager.java

@@ -94,7 +94,7 @@ public class DefaultDeviceDataManager implements DeviceDataManager {
     }
 
     @Override
-    public Mono<PropertyValue> getFistProperty(@Nonnull String deviceId, @Nonnull String propertyId) {
+    public Mono<PropertyValue> getFirstProperty(@Nonnull String deviceId, @Nonnull String propertyId) {
         return localCache
             .computeIfAbsent(deviceId, id -> new DevicePropertyRef(id, eventBus, dataService))
             .getFirstProperty(propertyId);