Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Commit 804936e

Browse files
committed
Deleted unused methods
1 parent 15a4045 commit 804936e

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

app/src/main/java/com/snatik/matches/common/SQLiteDB.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -109,35 +109,6 @@ public int getBestTimeForStage(int theme, int difficulty) {
109109
}
110110
}
111111

112-
113-
/*public String checkForTable () {
114-
115-
String result = null;
116-
SQLiteDatabase db = getWritableDatabase();
117-
118-
String query = "SELECT name FROM sqlite_master WHERE type = 'table' AND name = " + TABLE_NAME + ";";
119-
db.execSQL(query);
120-
Cursor c = db.rawQuery(query,null);
121-
c.moveToFirst();
122-
if (c != null) {
123-
result = c.getString(c.getColumnIndex("name"));
124-
}
125-
126-
db.close();
127-
return result;
128-
} */
129-
130-
/*public String insertValues() {
131-
SQLiteDatabase db = getWritableDatabase();
132-
String query = "INSERT INTO " + TABLE_NAME +" VALUES (20, 2, 4);";
133-
db.execSQL(query);
134-
System.out.println("VALUES INSERTED ! ! ! !");
135-
String query1 = "SELECT " + COLUMN_THEME + " FROM " + TABLE_NAME + " WHERE " + COLUMN_DIFFICULTY + " = 4;";
136-
Cursor c = db.rawQuery(query1,null);
137-
c.moveToFirst();
138-
return c.getString(c.getColumnIndex(COLUMN_THEME));
139-
} */
140-
141112
@Override public void onUpgrade(SQLiteDatabase sqLiteDatabase, int i, int i1) {
142113

143114
System.out.println("HI");

0 commit comments

Comments
 (0)