commit | 7e57aaa86615488157b95a95281190915926ef17 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Fri Feb 09 18:05:23 2018 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Sat Feb 10 02:53:25 2018 +0000 |
tree | abaa9d236bd27c2b493e2aa044d47fdefa2d0c3d | |
parent | 8866d8442752d267d3f482383aaf06fb60a103ee [diff] |
Fix issue reported by error-prone Change-Id: Ide991f2b91fbd4d7652da6ff8e5a1868dd62dc22 (cherry picked from commit 0eb68e14ede6f403f1f7cda52a260534ca031104)
diff --git a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/McastHandler.java b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/McastHandler.java index ce2c2da..94b3a4c 100644 --- a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/McastHandler.java +++ b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/McastHandler.java
@@ -523,7 +523,7 @@ return; } // Let's add the port and reuse the previous one - portBuilder.addAll(existingPorts).add(port).build(); + portBuilder.addAll(existingPorts).add(port); // Reuse previous nextObj newNextObj = nextObjBuilder(mcastIp, assignedVlan, portBuilder.build(), nextObj.id()).addToExisting();