[Android] DatabaseManager: correct a creative spelling

Edward Wang git at videolan.org
Sun Dec 9 04:30:01 CET 2012


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat Dec  8 20:27:32 2012 -0500| [78aa75e1bc58efb94adf82fb0405ea18a0d66b2a] | committer: Edward Wang

DatabaseManager: correct a creative spelling

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=78aa75e1bc58efb94adf82fb0405ea18a0d66b2a
---

 vlc-android/src/org/videolan/vlc/DatabaseManager.java |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/DatabaseManager.java b/vlc-android/src/org/videolan/vlc/DatabaseManager.java
index fa0bcce..1a3a806 100644
--- a/vlc-android/src/org/videolan/vlc/DatabaseManager.java
+++ b/vlc-android/src/org/videolan/vlc/DatabaseManager.java
@@ -110,12 +110,12 @@ public class DatabaseManager {
             super(context, DB_NAME, null, DB_VERSION);
         }
 
-        public void dropMediaTabelQuery(SQLiteDatabase db) {
+        public void dropMediaTableQuery(SQLiteDatabase db) {
             String query = "DROP TABLE " + MEDIA_TABLE_NAME + ";";
             db.execSQL(query);
         }
 
-        public void createMediaTabelQuery(SQLiteDatabase db) {
+        public void createMediaTableQuery(SQLiteDatabase db) {
             String query = "CREATE TABLE IF NOT EXISTS "
                     + MEDIA_TABLE_NAME + " ("
                     + MEDIA_LOCATION + " TEXT PRIMARY KEY NOT NULL, "
@@ -148,7 +148,7 @@ public class DatabaseManager {
             db.execSQL(createDirTabelQuery);
 
             // Create the media table
-            createMediaTabelQuery(db);
+            createMediaTableQuery(db);
 
             String createPlaylistTableQuery = "CREATE TABLE IF NOT EXISTS " +
                     PLAYLIST_TABLE_NAME + " (" +
@@ -177,8 +177,8 @@ public class DatabaseManager {
         @Override
         public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
             if (oldVersion < DB_VERSION && newVersion == DB_VERSION) {
-                dropMediaTabelQuery(db);
-                createMediaTabelQuery(db);
+                dropMediaTableQuery(db);
+                createMediaTableQuery(db);
             }
         }
     }



More information about the Android mailing list