Replace Arrays.toString() with ByteUtil.shortHexString() in PodInfo.toString()
This commit is contained in:
parent
e93a9eb34e
commit
fa84cbd513
|
@ -3,7 +3,6 @@ package info.nightscout.androidaps.plugins.pump.omnipod.driver.communication.mes
|
|||
import org.joda.time.Duration;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import info.nightscout.androidaps.plugins.pump.common.utils.ByteUtil;
|
||||
|
@ -54,7 +53,7 @@ public class PodInfoActiveAlerts extends PodInfo {
|
|||
@Override
|
||||
public String toString() {
|
||||
return "PodInfoActiveAlerts{" +
|
||||
"word278=" + Arrays.toString(word278) +
|
||||
"word278=" + ByteUtil.shortHexString(word278) +
|
||||
", alertActivations=" + alertActivations +
|
||||
'}';
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@ package info.nightscout.androidaps.plugins.pump.omnipod.driver.communication.mes
|
|||
|
||||
import org.joda.time.Duration;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import info.nightscout.androidaps.plugins.pump.common.utils.ByteUtil;
|
||||
import info.nightscout.androidaps.plugins.pump.omnipod.driver.communication.message.response.StatusUpdatableResponse;
|
||||
import info.nightscout.androidaps.plugins.pump.omnipod.driver.definition.AlertSet;
|
||||
|
@ -189,7 +187,7 @@ public class PodInfoFaultEvent extends PodInfo implements StatusUpdatableRespons
|
|||
", receiverLowGain=" + receiverLowGain +
|
||||
", radioRSSI=" + radioRSSI +
|
||||
", podProgressStatusAtTimeOfFirstLoggedFaultEvent=" + podProgressStatusAtTimeOfFirstLoggedFaultEvent +
|
||||
", unknownValue=" + Arrays.toString(unknownValue) +
|
||||
", unknownValue=" + ByteUtil.shortHexString(unknownValue) +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue