Code Review
/
bgpcep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG-47 : PCEP migration to generated DTOs.
[bgpcep.git]
/
pcep
/
api
/
src
/
main
/
java
/
org
/
opendaylight
/
protocol
/
pcep
/
PCEPCloseTermination.java
diff --git
a/pcep/api/src/main/java/org/opendaylight/protocol/pcep/PCEPCloseTermination.java
b/pcep/api/src/main/java/org/opendaylight/protocol/pcep/PCEPCloseTermination.java
index 60683ce9edd55dcc40aa790b8b369be236412433..6343873b37108d2d566f1046c3d1a66aaca32399 100644
(file)
--- a/
pcep/api/src/main/java/org/opendaylight/protocol/pcep/PCEPCloseTermination.java
+++ b/
pcep/api/src/main/java/org/opendaylight/protocol/pcep/PCEPCloseTermination.java
@@
-7,23
+7,21
@@
*/
package org.opendaylight.protocol.pcep;
*/
package org.opendaylight.protocol.pcep;
-import org.opendaylight.protocol.pcep.object.PCEPCloseObject.Reason;
-
import com.google.common.base.Objects.ToStringHelper;
/**
import com.google.common.base.Objects.ToStringHelper;
/**
- * Used as a reason when one of the regular reasons was the cause of the
- * termination of a session.
+ * Used as a reason when one of the regular reasons was the cause of the termination of a session.
*/
public final class PCEPCloseTermination extends PCEPTerminationReason {
*/
public final class PCEPCloseTermination extends PCEPTerminationReason {
- private final Reason reason;
+ private final
Termination
Reason reason;
/**
* Creates new Termination.
/**
* Creates new Termination.
+ *
* @param reason reason for termination
*/
* @param reason reason for termination
*/
- public PCEPCloseTermination(final Reason reason) {
+ public PCEPCloseTermination(final
Termination
Reason reason) {
super();
this.reason = reason;
}
super();
this.reason = reason;
}
@@
-38,7
+36,7
@@
public final class PCEPCloseTermination extends PCEPTerminationReason {
@Override
protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) {
@Override
protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) {
- return toStringHelper.add("reason", reason);
+ return toStringHelper.add("reason",
this.
reason);
}
}
}
}