summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorFyodor Kupolov <fkupolov@google.com>2018-01-17 16:45:14 -0800
committerFyodor Kupolov <fkupolov@google.com>2018-01-18 01:39:10 +0000
commit2abd2a49760b1aefd98ffd59fc6048bb775f89ce (patch)
treefca373cb03208f173f408f14c4a17670b19936ff /core/java
parentade5ffcf1cb03839118f0bff3b42943c5a4a05d0 (diff)
Clarify usage of context in the JavaDoc
The context is only used for resolving database paths. Test: build Bug: 70863722 Change-Id: I675dcd35da9d73b57dbd0bf3e357bfffdf485168
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/database/sqlite/SQLiteOpenHelper.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/database/sqlite/SQLiteOpenHelper.java b/core/java/android/database/sqlite/SQLiteOpenHelper.java
index 49f357e6cb10..a2991e6e9cb6 100644
--- a/core/java/android/database/sqlite/SQLiteOpenHelper.java
+++ b/core/java/android/database/sqlite/SQLiteOpenHelper.java
@@ -66,7 +66,7 @@ public abstract class SQLiteOpenHelper {
* created or opened until one of {@link #getWritableDatabase} or
* {@link #getReadableDatabase} is called.
*
- * @param context to use to open or create the database
+ * @param context to use for locating paths to the the database
* @param name of the database file, or null for an in-memory database
* @param factory to use for creating cursor objects, or null for the default
* @param version number of the database (starting at 1); if the database is older,
@@ -86,7 +86,7 @@ public abstract class SQLiteOpenHelper {
* <p>Accepts input param: a concrete instance of {@link DatabaseErrorHandler} to be
* used to handle corruption when sqlite reports database corruption.</p>
*
- * @param context to use to open or create the database
+ * @param context to use for locating paths to the the database
* @param name of the database file, or null for an in-memory database
* @param factory to use for creating cursor objects, or null for the default
* @param version number of the database (starting at 1); if the database is older,
@@ -107,7 +107,7 @@ public abstract class SQLiteOpenHelper {
* created or opened until one of {@link #getWritableDatabase} or
* {@link #getReadableDatabase} is called.
*
- * @param context to use to open or create the database
+ * @param context to use for locating paths to the the database
* @param name of the database file, or null for an in-memory database
* @param version number of the database (starting at 1); if the database is older,
* {@link #onUpgrade} will be used to upgrade the database; if the database is
@@ -128,7 +128,7 @@ public abstract class SQLiteOpenHelper {
* minimumSupportedVersion is found, it is simply deleted and a new database is created with the
* given name and version
*
- * @param context to use to open or create the database
+ * @param context to use for locating paths to the the database
* @param name the name of the database file, null for a temporary in-memory database
* @param factory to use for creating cursor objects, null for default
* @param version the required version of the database