From: Damyan Ivanov Date: Thu, 6 Dec 2018 20:37:50 +0000 (+0000) Subject: no need these methods to be public X-Git-Tag: v0.3~322 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=7604271a60286a34c6261c7f1cb65ec7fb5284ea;p=mobile-ledger.git no need these methods to be public --- 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);");