Correct ordering of the to string for Bandwidth profiles
Change-Id: I45ff0f27056f74fbe894793a87cc106ecb06019e
diff --git a/api/src/main/java/org/opencord/sadis/BandwidthProfileInformation.java b/api/src/main/java/org/opencord/sadis/BandwidthProfileInformation.java
index ea9fd31..3d1e1fb 100644
--- a/api/src/main/java/org/opencord/sadis/BandwidthProfileInformation.java
+++ b/api/src/main/java/org/opencord/sadis/BandwidthProfileInformation.java
@@ -152,6 +152,8 @@
public String toString() {
final StringBuilder sb = new StringBuilder("BandwidthProfileInformation{");
sb.append("id=").append(id);
+ sb.append(", committedInformationRate=").append(committedInformationRate);
+ sb.append(", committedBurstSize=").append(committedBurstSize);
if (peakInformationRate == 0 && peakBurstSize == null) {
sb.append(", exceededInformationRate=").append(exceededInformationRate);
sb.append(", exceededBurstSize=").append(exceededBurstSize);
@@ -159,8 +161,6 @@
sb.append(", peakInformationRate=").append(peakInformationRate);
sb.append(", peakBurstSize=").append(peakBurstSize);
}
- sb.append(", committedInformationRate=").append(committedInformationRate);
- sb.append(", committedBurstSize=").append(committedBurstSize);
sb.append(", assuredInformationRate=").append(assuredInformationRate);
sb.append(", guaranteedInformationRate=").append(guaranteedInformationRate);
sb.append('}');