Merge "Add a toString method to ApfCapabilities." into nyc-dev am: 36e480c
am: 366ce8a * commit '366ce8a8d92b3368c51b7d7f1408eadcddcaf96c': Add a toString method to ApfCapabilities. Change-Id: Iee5554cdabab4fe8a274faed22e0d56c48c64317
This commit is contained in:
@@ -43,4 +43,9 @@ public class ApfCapabilities {
|
||||
this.maximumApfProgramSize = maximumApfProgramSize;
|
||||
this.apfPacketFormat = apfPacketFormat;
|
||||
}
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return String.format("%s{version: %d, maxSize: %d format: %d}", getClass().getSimpleName(),
|
||||
apfVersionSupported, maximumApfProgramSize, apfPacketFormat);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user