Enforce naming convention regarding abbreviations
Change-Id: Ic81038d3869268a55624ccbbf66048545158b0da
diff --git a/protocols/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepUpdateRequestVer1.java b/protocols/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepUpdateRequestVer1.java
index 0bcc290..9fc8d70 100644
--- a/protocols/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepUpdateRequestVer1.java
+++ b/protocols/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepUpdateRequestVer1.java
@@ -110,8 +110,8 @@
*/
public static class Builder implements PcepUpdateRequest.Builder {
- private boolean bIsSRPObjectSet = false;
- private boolean bIsLSPObjectSet = false;
+ private boolean bIsSrpObjectSet = false;
+ private boolean bIsLspObjectSet = false;
private boolean bIsPcepMsgPathSet = false;
//PCEP SRP Object
@@ -131,12 +131,12 @@
//PCEP Attribute list
PcepMsgPath msgPath = null;
- if (!this.bIsSRPObjectSet) {
+ if (!this.bIsSrpObjectSet) {
throw new PcepParseException(" SRP Object NOT Set while building PcepUpdateRequest.");
} else {
srpObject = this.srpObject;
}
- if (!this.bIsLSPObjectSet) {
+ if (!this.bIsLspObjectSet) {
throw new PcepParseException(" LSP Object NOT Set while building PcepUpdateRequest.");
} else {
lspObject = this.lspObject;
@@ -168,7 +168,7 @@
@Override
public Builder setSrpObject(PcepSrpObject srpobj) {
this.srpObject = srpobj;
- this.bIsSRPObjectSet = true;
+ this.bIsSrpObjectSet = true;
return this;
}
@@ -176,7 +176,7 @@
@Override
public Builder setLspObject(PcepLspObject lspObject) {
this.lspObject = lspObject;
- this.bIsLSPObjectSet = true;
+ this.bIsLspObjectSet = true;
return this;
}