Revert accidental changes and fix formatting

This commit is contained in:
Bart Sopers 2019-11-27 23:07:35 +01:00
parent 120243908f
commit 23050dff4d
2 changed files with 6 additions and 9 deletions

View file

@ -15,7 +15,7 @@ public enum PodProgressStatus {
TWO_NOT_USED_BUT_IN_33((byte) 0x0b), TWO_NOT_USED_BUT_IN_33((byte) 0x0b),
THREE_NOT_USED_BUT_IN_33((byte) 0x0c), THREE_NOT_USED_BUT_IN_33((byte) 0x0c),
ERROR_EVENT_LOGGED_SHUTTING_DOWN((byte) 0x0d), ERROR_EVENT_LOGGED_SHUTTING_DOWN((byte) 0x0d),
a((byte) 0x0e), DELAYED_PRIME((byte) 0x0e),
INACTIVE((byte) 0x0f); INACTIVE((byte) 0x0f);
private byte value; private byte value;

View file

@ -1,6 +1,5 @@
package info.nightscout.androidaps.plugins.pump.omnipod.driver.comm; package info.nightscout.androidaps.plugins.pump.omnipod.driver.comm;
import org.jetbrains.annotations.Nullable;
import org.joda.time.DateTime; import org.joda.time.DateTime;
import org.joda.time.Duration; import org.joda.time.Duration;
@ -175,10 +174,8 @@ public class AapsOmnipodManager implements OmnipodCommunicationManagerInterface
//PodDbEntry entry = new PodDbEntry(requestTime, entryType); //PodDbEntry entry = new PodDbEntry(requestTime, entryType);
} }
@Nullable
private String createCommentForSetupActionResult(SetupActionResult res) { private String createCommentForSetupActionResult(SetupActionResult res) {
String comment = null; String comment = null;
switch (res.getResultType()) { switch (res.getResultType()) {