From f364890d025e83779cdcc8abbde3b9857176cfdc Mon Sep 17 00:00:00 2001 From: jacques Date: Sun, 3 Oct 2021 13:54:29 +0200 Subject: [PATCH] Remove dead code --- .../java/net/foucry/pilldroid/DrugDetailActivity.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/src/main/java/net/foucry/pilldroid/DrugDetailActivity.java b/app/src/main/java/net/foucry/pilldroid/DrugDetailActivity.java index 40a4ebb..f5f2bae 100644 --- a/app/src/main/java/net/foucry/pilldroid/DrugDetailActivity.java +++ b/app/src/main/java/net/foucry/pilldroid/DrugDetailActivity.java @@ -138,19 +138,10 @@ public class DrugDetailActivity extends AppCompatActivity { TextView warningTextView = warningView.findViewById(R.id.value); String warningValue = warningTextView.getText().toString(); - -/* Log.d(TAG, "StockValue == "+ stockValue); - Log.d(TAG, "TakeValue == "+ takeValue); - Log.d(TAG, "AlertValue == "+ alertValue); - Log.d(TAG, "WarningValue == "+ warningValue); - Log.d(TAG, "medicamentID == "+ drug.getId()); - Log.d(TAG, "drug == "+ drug.toString());*/ - newDrug.setStock(Double.parseDouble(stockValue)); newDrug.setTake(Double.parseDouble(takeValue)); newDrug.setWarnThreshold(Integer.parseInt(warningValue)); newDrug.setAlertThreshold(Integer.parseInt(alertValue)); - // newDrug.setDateLastUpdate(UtilDate.dateAtNoon(new Date()).getTime()); newDrug.setDateLastUpdate(new Date().getTime()); newDrug.setDateEndOfStock();