X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=pcep%2Fbase-parser%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fprotocol%2Fpcep%2Fparser%2Fmessage%2FPCEPReplyMessageParser.java;fp=pcep%2Fbase-parser%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fprotocol%2Fpcep%2Fparser%2Fmessage%2FPCEPReplyMessageParser.java;h=4d018b5d2af4ce12ea9e8cf66926b526034e9893;hb=573e76691c197a1756e48d54d24f1f9ee76df472;hp=ca0751d2b5e2310a1c0c1629a3fa2ea724a2682e;hpb=f56de4cc1d9e374e2e353f335ecc5d244060275b;p=bgpcep.git diff --git a/pcep/base-parser/src/main/java/org/opendaylight/protocol/pcep/parser/message/PCEPReplyMessageParser.java b/pcep/base-parser/src/main/java/org/opendaylight/protocol/pcep/parser/message/PCEPReplyMessageParser.java index ca0751d2b5..4d018b5d2a 100644 --- a/pcep/base-parser/src/main/java/org/opendaylight/protocol/pcep/parser/message/PCEPReplyMessageParser.java +++ b/pcep/base-parser/src/main/java/org/opendaylight/protocol/pcep/parser/message/PCEPReplyMessageParser.java @@ -15,11 +15,11 @@ import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.Queue; +import org.opendaylight.protocol.pcep.PCEPDeserializerException; import org.opendaylight.protocol.pcep.parser.util.Util; import org.opendaylight.protocol.pcep.spi.AbstractMessageParser; import org.opendaylight.protocol.pcep.spi.MessageUtil; import org.opendaylight.protocol.pcep.spi.ObjectRegistry; -import org.opendaylight.protocol.pcep.spi.PCEPDeserializerException; import org.opendaylight.protocol.pcep.spi.PCEPErrors; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.message.rev181109.Pcrep; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.message.rev181109.PcrepBuilder; @@ -153,7 +153,7 @@ public class PCEPReplyMessageParser extends AbstractMessageParser { } final List replies = new ArrayList<>(); while (!objects.isEmpty()) { - final Replies r = this.getValidReply(objects, errors); + final Replies r = getValidReply(objects, errors); if (r != null) { replies.add(r); } @@ -218,7 +218,7 @@ public class PCEPReplyMessageParser extends AbstractMessageParser { private Result handleNoPath(final NoPath noPath, final Queue objects) { final FailureCaseBuilder builder = new FailureCaseBuilder().setNoPath(noPath); for (Object obj = objects.peek(); obj != null && !(obj instanceof PceId); obj = objects.peek()) { - this.parseAttributes(builder, objects); + parseAttributes(builder, objects); } return builder.build(); } @@ -237,7 +237,7 @@ public class PCEPReplyMessageParser extends AbstractMessageParser { if (!vendorInfoObjects.isEmpty()) { builder.setVendorInformationObject(vendorInfoObjects); } - this.parsePath(pBuilder, objects); + parsePath(pBuilder, objects); paths.add(pBuilder.build()); } builder.setPaths(paths);