Add a toString method to ApfCapabilities.
Change-Id: I505b90b7cd818cb3477990ec6b41b16db46d1c08
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