X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/3aaae90b9b633a84f2ed4b17c2faf0ca809e0793..a99f74bd9e09ed9acc74b0fe276ed030b91fc85d:/src/com/owncloud/android/db/DbHandler.java diff --git a/src/com/owncloud/android/db/DbHandler.java b/src/com/owncloud/android/db/DbHandler.java index ddd004c2..bd0fcd17 100644 --- a/src/com/owncloud/android/db/DbHandler.java +++ b/src/com/owncloud/android/db/DbHandler.java @@ -3,7 +3,7 @@ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -31,14 +31,14 @@ import android.database.sqlite.SQLiteOpenHelper; */ public class DbHandler { private SQLiteDatabase mDB; - private OpenerHepler mHelper; + private OpenerHelper mHelper; private final String mDatabaseName = "ownCloud"; private final int mDatabaseVersion = 1; private final String TABLE_INSTANT_UPLOAD = "instant_upload"; public DbHandler(Context context) { - mHelper = new OpenerHepler(context); + mHelper = new OpenerHelper(context); mDB = mHelper.getWritableDatabase(); } @@ -74,8 +74,8 @@ public class DbHandler { } - private class OpenerHepler extends SQLiteOpenHelper { - public OpenerHepler(Context context) { + private class OpenerHelper extends SQLiteOpenHelper { + public OpenerHelper(Context context) { super(context, mDatabaseName, null, mDatabaseVersion); }