Replace Arrays.toString() with ByteUtil.shortHexString() in PodInfo.toString()

This commit is contained in:
Bart Sopers 2020-10-02 03:00:51 +02:00
parent e93a9eb34e
commit fa84cbd513
2 changed files with 2 additions and 5 deletions

View file

@ -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 +
'}';
}

View file

@ -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) +
'}';
}
}