Skip to content

Commit a6dbea0

Browse files
committed
add explanatory comment
1 parent 2e32765 commit a6dbea0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

android-database-sqlcipher/src/main/java/net/sqlcipher/database/BindingsRecorder.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@
1919
import android.util.SparseArray;
2020
import androidx.sqlite.db.SupportSQLiteProgram;
2121

22+
/*
23+
This class is a concrete implementation of SupportSQLiteProgram,
24+
for use in supporting bind arguments for the SQLiteDatabase query()
25+
methods that take a SupportSQLiteQuery parameter.
26+
27+
In Google's FrameworkSQLiteDatabase implementation of those query()
28+
methods, it uses FrameworkSQLiteProgram, which has the same basic implementation
29+
as does BindingsRecorder.
30+
*/
2231
class BindingsRecorder implements SupportSQLiteProgram {
2332
private SparseArray<Object> bindings=new SparseArray<>();
2433

0 commit comments

Comments
 (0)