Cleanups.

This commit is contained in:
Johannes Mockenhaupt 2017-11-12 00:58:16 +01:00
parent 02af439dd7
commit 11777f8b7f
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1
2 changed files with 2 additions and 18 deletions

View file

@ -16,19 +16,11 @@ import java.util.List;
import de.jotomo.ruffy.spi.history.PumpError;
import info.nightscout.androidaps.R;
/**
* Created by adrian on 17/08/17.
*/
public class ComboErrorHistoryDialog extends DialogFragment {
private static Logger log = LoggerFactory.getLogger(ComboErrorHistoryDialog.class);
private TextView text;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View layout = inflater.inflate(R.layout.combo_error_history_fragment, container, false);
text = (TextView) layout.findViewById(R.id.combo_error_history_text);
TextView text = (TextView) layout.findViewById(R.id.combo_error_history_text);
List<PumpError> errors = ComboPlugin.getPlugin().getPump().history.pumpErrorHistory;
StringBuilder sb = new StringBuilder();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd.MM. HH:mm");

View file

@ -16,19 +16,11 @@ import java.util.List;
import de.jotomo.ruffy.spi.history.Tdd;
import info.nightscout.androidaps.R;
/**
* Created by adrian on 17/08/17.
*/
public class ComboTddHistoryDialog extends DialogFragment {
private static Logger log = LoggerFactory.getLogger(ComboTddHistoryDialog.class);
private TextView text;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View layout = inflater.inflate(R.layout.combo_tdd_history_fragment, container, false);
text = (TextView) layout.findViewById(R.id.combo_tdd_history_text);
TextView text = (TextView) layout.findViewById(R.id.combo_tdd_history_text);
List<Tdd> tdds = ComboPlugin.getPlugin().getPump().history.tddHistory;
StringBuilder sb = new StringBuilder();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd.MM.");