]> git.ktnx.net Git - mobile-ledger.git/commitdiff
no need these methods to be public
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 6 Dec 2018 20:37:50 +0000 (20:37 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 6 Dec 2018 20:37:50 +0000 (20:37 +0000)
app/src/main/java/net/ktnx/mobileledger/MobileLedgerDB.java

index 2aee53316c9031a741a185644aa8a622aed3fd89..4a455042b4c49b223de5da9cc599f9beebe7f798 100644 (file)
@@ -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);");