both of operands are int type which
can cause loss of data. This changes the types
of operands to long
Change-Id: Ie162d52b1f853c0d83d51c8871af42a597b93386
Signed-off-by: Michal Cmarada <[email protected]>
}));
}
- private Segment parseSrv6Sid(final int i, final Srv6Sid srv6Sid) {
+ private Segment parseSrv6Sid(final long i, final Srv6Sid srv6Sid) {
// shifting index by 1 so it matches original indexing
- long index = i + 1;
+ long index = i + 1L;
SegmentBuilder builder = new SegmentBuilder().setKey(new SegmentKey(index)).setState(
new org.opendaylight.yang.gen.v1.http.cisco.com.ns.yang.oc.srte.policy.rev170918.segment.properties.StateBuilder()
.setIndex(index)