Fix some warnings.

This commit is contained in:
Johannes Mockenhaupt 2017-08-17 21:17:52 +02:00
parent 4f2357e9fb
commit a6351f4455
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1
3 changed files with 20 additions and 21 deletions

View file

@ -24,14 +24,14 @@ public class NSProfileFragment extends SubscriberFragment {
return nsProfilePlugin; return nsProfilePlugin;
} }
private static TextView noProfile; private TextView noProfile;
private static TextView units; private TextView units;
private static TextView dia; private TextView dia;
private static TextView activeProfile; private TextView activeProfile;
private static TextView ic; private TextView ic;
private static TextView isf; private TextView isf;
private static TextView basal; private TextView basal;
private static TextView target; private TextView target;
@Override @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, public View onCreateView(LayoutInflater inflater, ViewGroup container,

View file

@ -141,7 +141,6 @@ public class TreatmentsTempTargetFragment extends SubscriberFragment implements
@Override @Override
public void onClick(View v) { public void onClick(View v) {
final TempTarget tempTarget = (TempTarget) v.getTag(); final TempTarget tempTarget = (TempTarget) v.getTag();
final Context finalContext = context;
switch (v.getId()) { switch (v.getId()) {
case R.id.temptargetrange_remove: case R.id.temptargetrange_remove:
AlertDialog.Builder builder = new AlertDialog.Builder(context); AlertDialog.Builder builder = new AlertDialog.Builder(context);