Fix bug: NetworkAddressInventory uses wrong builder to convert data (#3183)
This commit is contained in:
parent
7958ba9aff
commit
e8f94d55c3
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue