From 3b7082b36ea5d295b2283ddeeeaff9c5904b238d Mon Sep 17 00:00:00 2001 From: jacques Date: Fri, 11 Sep 2020 16:59:10 +0200 Subject: [PATCH] Remove unused method --- app/src/main/java/net/foucry/pilldroid/DBHelper.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/src/main/java/net/foucry/pilldroid/DBHelper.java b/app/src/main/java/net/foucry/pilldroid/DBHelper.java index c4a89c4..cc4fb13 100644 --- a/app/src/main/java/net/foucry/pilldroid/DBHelper.java +++ b/app/src/main/java/net/foucry/pilldroid/DBHelper.java @@ -43,13 +43,6 @@ class DBHelper extends SQLiteOpenHelper { private static final String[] COLUMS = {KEY_ID, KEY_CIS,KEY_CIP13, KEY_NAME, KEY_ADMIN, KEY_PRES, KEY_STOCK, KEY_PRISE, KEY_SEUIL_WARN, KEY_SEUIL_ALERT}; - public static synchronized DBHelper getInstance(Context context) { - if (sInstance == null) { - sInstance = new DBHelper(context); - } - return sInstance; - } - DBHelper(Context context) { super(context, DATABASE_NAME.get(), null, DATABASE_VERSION); }