Move WarningOrErrorCode class to parent package.

(cherry picked from commit 38922ba)
This commit is contained in:
Johannes Mockenhaupt 2017-11-25 21:18:12 +01:00
parent c36eac1ff3
commit a0ba857279
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1
5 changed files with 4 additions and 8 deletions

View file

@ -22,7 +22,7 @@ import de.jotomo.ruffy.spi.history.Bolus;
import de.jotomo.ruffy.spi.history.PumpHistory; import de.jotomo.ruffy.spi.history.PumpHistory;
import de.jotomo.ruffy.spi.history.PumpHistoryRequest; import de.jotomo.ruffy.spi.history.PumpHistoryRequest;
import de.jotomo.ruffy.spi.history.Tbr; import de.jotomo.ruffy.spi.history.Tbr;
import de.jotomo.ruffy.spi.history.WarningOrErrorCode; import de.jotomo.ruffy.spi.WarningOrErrorCode;
import de.jotomo.ruffyscripter.RuffyCommandsV1Impl; import de.jotomo.ruffyscripter.RuffyCommandsV1Impl;
import info.nightscout.androidaps.BuildConfig; import info.nightscout.androidaps.BuildConfig;
import info.nightscout.androidaps.MainApp; import info.nightscout.androidaps.MainApp;

View file

@ -1,7 +1,5 @@
package de.jotomo.ruffy.spi; package de.jotomo.ruffy.spi;
import de.jotomo.ruffy.spi.history.WarningOrErrorCode;
/** State displayed on the main screen of the pump. */ /** State displayed on the main screen of the pump. */
public class PumpState { public class PumpState {
/** Time the state was captured, rounded to a full second */ /** Time the state was captured, rounded to a full second */

View file

@ -1,4 +1,4 @@
package de.jotomo.ruffy.spi.history; package de.jotomo.ruffy.spi;
import android.support.annotation.Nullable; import android.support.annotation.Nullable;
@ -28,4 +28,3 @@ public class WarningOrErrorCode {
'}'; '}';
} }
} }

View file

@ -31,7 +31,7 @@ import de.jotomo.ruffy.spi.CommandResult;
import de.jotomo.ruffy.spi.PumpState; import de.jotomo.ruffy.spi.PumpState;
import de.jotomo.ruffy.spi.RuffyCommands; import de.jotomo.ruffy.spi.RuffyCommands;
import de.jotomo.ruffy.spi.history.PumpHistoryRequest; import de.jotomo.ruffy.spi.history.PumpHistoryRequest;
import de.jotomo.ruffy.spi.history.WarningOrErrorCode; import de.jotomo.ruffy.spi.WarningOrErrorCode;
import de.jotomo.ruffyscripter.commands.BolusCommand; import de.jotomo.ruffyscripter.commands.BolusCommand;
import de.jotomo.ruffyscripter.commands.CancelTbrCommand; import de.jotomo.ruffyscripter.commands.CancelTbrCommand;
import de.jotomo.ruffyscripter.commands.Command; import de.jotomo.ruffyscripter.commands.Command;

View file

@ -12,9 +12,8 @@ import java.util.List;
import java.util.Objects; import java.util.Objects;
import de.jotomo.ruffy.spi.BolusProgressReporter; import de.jotomo.ruffy.spi.BolusProgressReporter;
import de.jotomo.ruffy.spi.CommandResult;
import de.jotomo.ruffy.spi.PumpWarningCodes; import de.jotomo.ruffy.spi.PumpWarningCodes;
import de.jotomo.ruffy.spi.history.WarningOrErrorCode; import de.jotomo.ruffy.spi.WarningOrErrorCode;
import de.jotomo.ruffyscripter.RuffyScripter; import de.jotomo.ruffyscripter.RuffyScripter;
import static de.jotomo.ruffy.spi.BolusProgressReporter.State.DELIVERED; import static de.jotomo.ruffy.spi.BolusProgressReporter.State.DELIVERED;