remove TODOs and comments

This commit is contained in:
Milos Kozak 2016-07-18 13:18:45 +02:00
parent a1a64873fd
commit fdbfa16e40
3 changed files with 1 additions and 6 deletions

View file

@ -195,13 +195,11 @@ public class DanaRFragment extends Fragment implements PluginBase, PumpInterface
ServiceConnection mConnection = new ServiceConnection() {
public void onServiceDisconnected(ComponentName name) {
ToastUtils.showToastInUiThread(getContext(), "ExecutionService is disconnected"); // TODO: remove
mBounded = false;
mExecutionService = null;
}
public void onServiceConnected(ComponentName name, IBinder service) {
ToastUtils.showToastInUiThread(getContext(), "ExecutionService is connected"); // TODO: remove
log.debug("Service is connected");
mBounded = true;
ExecutionService.LocalBinder mLocalBinder = (ExecutionService.LocalBinder) service;
@ -835,7 +833,6 @@ public class DanaRFragment extends Fragment implements PluginBase, PumpInterface
if (getDanaRPump() != null) {
if (absoluteRate > getDanaRPump().maxBasal) {
absoluteRate = getDanaRPump().maxBasal;
if (Config.logConstraintsChanges && origAbsoluteRate != Constants.basalAbsoluteOnlyForCheckLimit)
if (Config.logConstraintsChanges && origAbsoluteRate != Constants.basalAbsoluteOnlyForCheckLimit)
log.debug("Limiting rate " + origAbsoluteRate + "U/h by pump constraint to " + absoluteRate + "U/h");
}

View file

@ -73,8 +73,6 @@ public class ProfileViewDialog extends DialogFragment {
@Override
public void run() {
DanaRFragment.getDanaRPump().lastSettingsRead = new Date(0);
// if (DanaRFragment.getDanaConnection() == null) DanaRFragment.setDanaConnection(new DanaConnection(MainApp.bus()));
// DanaRFragment.getDanaConnection().connectIfNotConnected("ProfileViewDialog");
DanaRFragment.doConnect("ProfileViewDialog");
}
});

View file

@ -229,7 +229,7 @@ public class ExecutionService extends Service {
mSerialIOThread.disconnect("EventPreferenceChange");
}
private void getPumpStatus() { // TODO rename after
private void getPumpStatus() {
try {
MsgStatus statusMsg = new MsgStatus();
MsgStatusBasic statusBasicMsg = new MsgStatusBasic();