From 91fa355d8c5a07ed1569540c611c3d408610d345 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Tue, 16 May 2017 18:51:31 +0200 Subject: [PATCH] remove unneeded code --- .../plugins/PumpDanaR/comm/MessageOriginalNames.java | 4 ---- .../java/info/nightscout/androidaps/tabs/TabPageAdapter.java | 2 -- 2 files changed, 6 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/comm/MessageOriginalNames.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/comm/MessageOriginalNames.java index 535bf33bd1..afb1367b26 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/comm/MessageOriginalNames.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaR/comm/MessageOriginalNames.java @@ -151,10 +151,6 @@ public class MessageOriginalNames { messageNames.put(0x43F2, "CMD_HISTORY_DATEOVER_ALL"); messageNames.put(0x4300, "CMD_HISTORY_DATEOVER_DONE"); - messageNames.put(0xE001, "CMD_PUMP_APSTEMP_VALUE"); - messageNames.put(0xE002, "CMD_PUMPSET_APSTEMP"); - messageNames.put(0xE003, "CMD_HISTORY_APSTEMP"); - messageNames.put(0xE001, "CMD_PUMP_APS"); messageNames.put(0xE002, "CMD_PUMPSET_APS"); messageNames.put(0xE003, "CMD_HISTORY_APS"); diff --git a/app/src/main/java/info/nightscout/androidaps/tabs/TabPageAdapter.java b/app/src/main/java/info/nightscout/androidaps/tabs/TabPageAdapter.java index 0ec2921a14..b6eaf73ce4 100644 --- a/app/src/main/java/info/nightscout/androidaps/tabs/TabPageAdapter.java +++ b/app/src/main/java/info/nightscout/androidaps/tabs/TabPageAdapter.java @@ -20,12 +20,10 @@ public class TabPageAdapter extends FragmentStatePagerAdapter { ArrayList visibleFragmentList = new ArrayList<>(); - FragmentManager fm; Context context; public TabPageAdapter(FragmentManager fm, Context context) { super(fm); - this.fm = fm; this.context = context; }