summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2010-03-09 11:37:52 -0800
committerVasu Nori <vnori@google.com>2010-03-09 11:37:52 -0800
commitafe806a4a32aa035995136b169e0388ec4a915b7 (patch)
tree2681d6a56326b87970ff0a22a027ca78156b9a08 /core/java/android
parent49d02acec84cc0382286fa233135bb5c74d5bdbf (diff)
modify comments to be more accurate
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/database/sqlite/SQLiteCompiledSql.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/database/sqlite/SQLiteCompiledSql.java b/core/java/android/database/sqlite/SQLiteCompiledSql.java
index 4ccf6b0aad7c..18cc1d5d46d3 100644
--- a/core/java/android/database/sqlite/SQLiteCompiledSql.java
+++ b/core/java/android/database/sqlite/SQLiteCompiledSql.java
@@ -23,8 +23,8 @@ import android.util.Log;
* Once a sql statement is compiled, it is cached in {@link SQLiteDatabase}
* and it is released in one of the 2 following ways
* 1. when {@link SQLiteDatabase} object is closed.
- * 2. dalvikVM wants to reclaim some memory and releases it from the cache in
- * {@link SQLiteDatabase}.
+ * 2. if this is not cached in {@link SQLiteDatabase}, {@link android.database.Cursor#close()}
+ * releaases this obj.
*/
/* package */ class SQLiteCompiledSql {
@@ -127,7 +127,7 @@ import android.util.Log;
try {
if (nStatement == 0) return;
// finalizer should NEVER get called
- Log.w(TAG, "finalizer should never be called. sql: " + mSqlStmt, mStackTrace);
+ Log.w(TAG, "finalizer should never be called on sql: " + mSqlStmt, mStackTrace);
releaseSqlStatement();
} finally {
super.finalize();