Add missing @Override annotations

This commit is contained in:
Bart Sopers 2020-08-23 11:05:07 +02:00
parent 2745aed31a
commit b84296da14
4 changed files with 6 additions and 6 deletions

View file

@ -91,7 +91,7 @@ public class StatusResponse extends MessageBlock {
return alerts;
}
public byte[] getRawData() {
@Override public byte[] getRawData() {
ByteArrayOutputStream stream = new ByteArrayOutputStream();
try {
stream.write(getType().getValue());

View file

@ -57,7 +57,7 @@ public class InitActionPage extends Page {
*
* @return
*/
public boolean isBackActionPossible() {
@Override public boolean isBackActionPossible() {
return actionCompleted;
}
@ -66,7 +66,7 @@ public class InitActionPage extends Page {
*
* @return
*/
public boolean isNextActionPossible() {
@Override public boolean isNextActionPossible() {
return actionSuccess;
}

View file

@ -54,7 +54,7 @@ public class RemovePodWizardModel extends AbstractWizardModel {
);
}
public Fragment getReviewFragment() {
@Override public Fragment getReviewFragment() {
return PodInfoFragment.create("removePodInfoFragment", false);
}

View file

@ -469,7 +469,7 @@ public class AapsOmnipodManager implements IOmnipodManager {
// TODO should we add this to the OmnipodCommunicationManager interface?
// Updates the pods current time based on the device timezone and the pod's time zone
public PumpEnactResult setTime() {
@Override public PumpEnactResult setTime() {
long time = System.currentTimeMillis();
try {
delegate.setTime(isBasalBeepsEnabled());
@ -491,7 +491,7 @@ public class AapsOmnipodManager implements IOmnipodManager {
return new PumpEnactResult(injector).success(true).enacted(true);
}
public PodInfoRecentPulseLog readPulseLog() {
@Override public PodInfoRecentPulseLog readPulseLog() {
PodInfoResponse response = delegate.getPodInfo(PodInfoType.RECENT_PULSE_LOG);
return response.getPodInfo();
}