Change-Id: I62353ec0bbbe360a1757fa3eff3262e47180138e
Signed-off-by: Marek Gradzki <[email protected]>
.collect(Collectors.toList());
if (details.size() == 1) {
final OneEidTableMapDetails detail = details.get(0);
- builder.setTableId(Integer.valueOf(detail.dpTable).longValue());
+ builder.setTableId(Integer.toUnsignedLong(detail.dpTable));
LOG.debug("Attributes for {} successfully loaded", id);
}
return remoteLocator;
}).toArray(OneRemoteLocator[]::new);
- request.rlocNum = Integer.valueOf(rlocs.getLocator().size()).byteValue();
+ request.rlocNum = (byte) rlocs.getLocator().size();
}
getReply(getFutureJVpp().oneAddDelRemoteMapping(request).toCompletableFuture());