[ENHANCE] DeviceObjectState format source
*/
package tornado.common;
+import static tornado.common.RuntimeUtilities.humanReadableByteCount;
public class DeviceObjectState {
+
private boolean valid;
private boolean modified;
private boolean contents;
@@ -70,7 +72,7 @@ public class DeviceObjectState {
sb.append((isModified()) ? "M" : "-");
sb.append((hasContents()) ? "C" : "-");
if (hasBuffer()) {
- sb.append(String.format(" address=0x%x, size=%s ",buffer.toAbsoluteAddress(),RuntimeUtilities.humanReadableByteCount(buffer.size(), true)));
+ sb.append(String.format(" address=0x%x, size=%s ", buffer.toAbsoluteAddress(), humanReadableByteCount(buffer.size(), true)));
} else {
sb.append(" <unbuffered>");
}
