Disable change log; to remove in future
[pub/Android/ownCloud.git] / src / com / owncloud / android / db / DbHandler.java
index 01518ba..bd0fcd1 100644 (file)
@@ -3,7 +3,7 @@
  *\r
  *   This program is free software: you can redistribute it and/or modify\r
  *   it under the terms of the GNU General Public License as published by\r
- *   the Free Software Foundation, either version 3 of the License, or\r
+ *   the Free Software Foundation, either version 2 of the License, or\r
  *   (at your option) any later version.\r
  *\r
  *   This program is distributed in the hope that it will be useful,\r
@@ -31,14 +31,14 @@ import android.database.sqlite.SQLiteOpenHelper;
  */\r
 public class DbHandler {\r
     private SQLiteDatabase mDB;\r
-    private OpenerHepler mHelper;\r
+    private OpenerHelper mHelper;\r
     private final String mDatabaseName = "ownCloud";\r
     private final int mDatabaseVersion = 1;\r
     \r
     private final String TABLE_INSTANT_UPLOAD = "instant_upload";\r
 \r
     public DbHandler(Context context) {\r
-        mHelper = new OpenerHepler(context);\r
+        mHelper = new OpenerHelper(context);\r
         mDB = mHelper.getWritableDatabase();\r
     }\r
 \r
@@ -74,15 +74,15 @@ public class DbHandler {
         \r
     }\r
     \r
-    private class OpenerHepler extends SQLiteOpenHelper {\r
-        public OpenerHepler(Context context) {\r
+    private class OpenerHelper extends SQLiteOpenHelper {\r
+        public OpenerHelper(Context context) {\r
             super(context, mDatabaseName, null, mDatabaseVersion);\r
         }\r
 \r
         @Override\r
         public void onCreate(SQLiteDatabase db) {\r
             db.execSQL("CREATE TABLE " + TABLE_INSTANT_UPLOAD + " ("\r
-                       + " _id INTEGET PRIMARY KEY, "\r
+                       + " _id INTEGER PRIMARY KEY, "\r
                        + " path TEXT,"\r
                        + " account TEXT);");\r
         }\r