Flip right hand side and left hand side of if-condition
Change-Id: Ic7574e645d0d6b5dc7a1e25ae2eb36212c96ab4b
diff --git a/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepStateReportVer1.java b/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepStateReportVer1.java
index 456a3c1..0c322de 100644
--- a/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepStateReportVer1.java
+++ b/pcep/pcepio/src/main/java/org/onosproject/pcepio/protocol/ver1/PcepStateReportVer1.java
@@ -98,22 +98,22 @@
this.attrList = attrList;
this.rroObj = rroObj;
this.bandwidth = bandwidth;
- if (null == rroObj) {
+ if (rroObj == null) {
this.isRroObjectSet = false;
} else {
this.isRroObjectSet = true;
}
- if (null == eroObj) {
+ if (eroObj == null) {
this.isEroObjectSet = false;
} else {
this.isEroObjectSet = true;
}
- if (null == attrList) {
+ if (attrList == null) {
this.isAttributeListSet = false;
} else {
this.isAttributeListSet = true;
}
- if (null == bandwidth) {
+ if (bandwidth == null) {
this.isBandwidthObjectSet = false;
} else {
this.isBandwidthObjectSet = true;