Clean up ReadHistoryCommand.
This commit is contained in:
parent
dbd442e8ea
commit
16c97acf4e
1 changed files with 26 additions and 25 deletions
|
@ -102,7 +102,6 @@ public class ReadHistoryCommand extends BaseCommand {
|
||||||
|
|
||||||
scripter.returnToRootMenu();
|
scripter.returnToRootMenu();
|
||||||
scripter.verifyRootMenuIsDisplayed();
|
scripter.verifyRootMenuIsDisplayed();
|
||||||
}
|
|
||||||
|
|
||||||
if (log.isDebugEnabled()) {
|
if (log.isDebugEnabled()) {
|
||||||
if (!history.bolusHistory.isEmpty()) {
|
if (!history.bolusHistory.isEmpty()) {
|
||||||
|
@ -130,8 +129,10 @@ public class ReadHistoryCommand extends BaseCommand {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
result.success(true).history(history);
|
result.success(true).history(history);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void readTddRecords(long requestedTime) {
|
private void readTddRecords(long requestedTime) {
|
||||||
int record = (int) scripter.getCurrentMenu().getAttribute(MenuAttribute.CURRENT_RECORD);
|
int record = (int) scripter.getCurrentMenu().getAttribute(MenuAttribute.CURRENT_RECORD);
|
||||||
|
|
Loading…
Reference in a new issue