From 7604271a60286a34c6261c7f1cb65ec7fb5284ea Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 6 Dec 2018 20:37:50 +0000 Subject: [PATCH] no need these methods to be public --- app/src/main/java/net/ktnx/mobileledger/MobileLedgerDB.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/MobileLedgerDB.java b/app/src/main/java/net/ktnx/mobileledger/MobileLedgerDB.java index 2aee5331..4a455042 100644 --- a/app/src/main/java/net/ktnx/mobileledger/MobileLedgerDB.java +++ b/app/src/main/java/net/ktnx/mobileledger/MobileLedgerDB.java @@ -7,15 +7,15 @@ class MobileLedgerDB { private static String db_filename; static SQLiteDatabase db; - public static String getDb_filename() { + static String getDb_filename() { return db_filename; } - public static void setDb_filename(String db_filename) { + static void setDb_filename(String db_filename) { MobileLedgerDB.db_filename = db_filename; } - public static void initDB() { + static void initDB() { db = SQLiteDatabase.openOrCreateDatabase( db_filename, null ); db.execSQL("create table if not exists accounts(name varchar);"); -- 2.39.5