Commit e8f94d55 authored by kezhenxu94's avatar kezhenxu94 Committed by 吴晟
Browse files

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

parent 7958ba9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
                        }