fix:【iot 物联网】增强 jdk8 的兼容性

This commit is contained in:
YunaiV
2025-09-20 12:09:46 +08:00
parent a6d9da31e8
commit 21bd03b4cd

View File

@@ -125,7 +125,7 @@ public class IotMqttConnectionManager {
*/
public IotMqttConnectionManager.ConnectionInfo getConnectionInfoByDeviceId(Long deviceId) {
// 通过设备 ID 获取连接端点
var endpoint = getDeviceEndpoint(deviceId);
MqttEndpoint endpoint = getDeviceEndpoint(deviceId);
if (endpoint == null) {
return null;
}