Skip to content

Commit fde4af0

Browse files
committed
cleanup
1 parent 0094205 commit fde4af0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/src/main/java/com/readystatesoftware/sqliteasset/SQLiteAssetHelper.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,7 @@ private void copyDatabaseFromAssets() throws SQLiteAssetException {
467467
private InputStream getUpgradeSQLStream(int oldVersion, int newVersion) {
468468
String path = String.format(mUpgradePathFormat, oldVersion, newVersion);
469469
try {
470-
InputStream is = mContext.getAssets().open(path);
471-
return is;
470+
return mContext.getAssets().open(path);
472471
} catch (IOException e) {
473472
Log.w(TAG, "missing database upgrade script: " + path);
474473
return null;

0 commit comments

Comments
 (0)