提交 e8f94d55 编写于 作者: K kezhenxu94 提交者: wu-sheng

Fix bug: NetworkAddressInventory uses wrong builder to convert data (#3183)

上级 7958ba9a
......@@ -63,7 +63,7 @@ public class H2NetworkAddressInventoryCacheDAO extends H2SQLExecutor implements
try (ResultSet resultSet = h2Client.executeQuery(connection, sql.toString(), lastUpdateTime)) {
NetworkAddressInventory addressInventory;
do {
addressInventory = (NetworkAddressInventory)toStorageData(resultSet, NetworkAddressInventory.INDEX_NAME, new ServiceInventory.Builder());
addressInventory = (NetworkAddressInventory)toStorageData(resultSet, NetworkAddressInventory.INDEX_NAME, new NetworkAddressInventory.Builder());
if (addressInventory != null) {
addressInventories.add(addressInventory);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册