File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
android-database-sqlcipher/src/main/java/net/sqlcipher/database Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 4848
4949 /** the following are for debugging purposes */
5050 private String mSqlStmt = null ;
51- private Throwable mStackTrace = null ;
5251
5352 /** when in cache and is in use, this member is set */
5453 private boolean mInUse = false ;
5958 }
6059 mDatabase = db ;
6160 mSqlStmt = sql ;
62- mStackTrace = new DatabaseObjectNotClosedException ().fillInStackTrace ();
6361 this .nHandle = db .mNativeHandle ;
6462 compile (sql , true );
6563 }
@@ -145,10 +143,6 @@ protected void finalize() throws Throwable {
145143 if (SQLiteDebug .DEBUG_ACTIVE_CURSOR_FINALIZATION ) {
146144 Log .v (TAG , "** warning ** Finalized DbObj (id#" + nStatement + ")" );
147145 }
148- int len = mSqlStmt .length ();
149- Log .w (TAG , "Releasing statement in a finalizer. Please ensure " +
150- "that you explicitly call close() on your cursor: " +
151- mSqlStmt .substring (0 , (len > 100 ) ? 100 : len ), mStackTrace );
152146 releaseSqlStatement ();
153147 } finally {
154148 super .finalize ();
You can’t perform that action at this time.
0 commit comments