Skip to content

Commit 41f69bc

Browse files
committed
Made onUpgrade non-final. This method can be safely overridden if
developers want to bypass the file based upgrade logic. Closes #1
1 parent 1cddf07 commit 41f69bc

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

core/src/com/readystatesoftware/sqliteasset/SQLiteAssetHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public final void onCreate(SQLiteDatabase db) {
300300
}
301301

302302
@Override
303-
public final void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
303+
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
304304

305305
Log.w(TAG, "Upgrading database " + mName + " from version " + oldVersion + " to " + newVersion + "...");
306306

lib/android-sqlite-asset-helper.jar

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)