Skip to content

Commit

Permalink
Simplified Java class names a tad.
Browse files Browse the repository at this point in the history
  • Loading branch information
artob committed Feb 14, 2019
1 parent d46a07b commit 7b50283
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
Expand Up @@ -15,16 +15,16 @@ public static void registerWith(final Registrar registrar) {

SQLiteDatabase.loadLibs(registrar.context());

(new MethodChannel(registrar.messenger(), SQLCipherMethodHandler.CHANNEL))
.setMethodCallHandler(new SQLCipherMethodHandler(registrar));
(new MethodChannel(registrar.messenger(), SQLCipherHandler.CHANNEL))
.setMethodCallHandler(new SQLCipherHandler(registrar));

(new MethodChannel(registrar.messenger(), SQLiteMethodHandler.CHANNEL))
.setMethodCallHandler(new SQLiteMethodHandler(registrar));
(new MethodChannel(registrar.messenger(), SQLiteHandler.CHANNEL))
.setMethodCallHandler(new SQLiteHandler(registrar));

(new MethodChannel(registrar.messenger(), SQLiteDatabaseMethodHandler.CHANNEL))
.setMethodCallHandler(new SQLiteDatabaseMethodHandler(registrar));
(new MethodChannel(registrar.messenger(), SQLiteDatabaseHandler.CHANNEL))
.setMethodCallHandler(new SQLiteDatabaseHandler(registrar));

(new MethodChannel(registrar.messenger(), SQLiteCursorMethodHandler.CHANNEL))
.setMethodCallHandler(new SQLiteCursorMethodHandler(registrar));
(new MethodChannel(registrar.messenger(), SQLiteCursorHandler.CHANNEL))
.setMethodCallHandler(new SQLiteCursorHandler(registrar));
}
}
Expand Up @@ -9,11 +9,11 @@
import io.flutter.plugin.common.PluginRegistry.Registrar;
import net.sqlcipher.database.SQLiteDatabase;

/** SQLCipherMethodHandler */
class SQLCipherMethodHandler extends FlutterMethodCallHandler {
/** SQLCipherHandler */
class SQLCipherHandler extends FlutterMethodCallHandler {
static final String CHANNEL = "flutter_sqlcipher/SQLCipher";

SQLCipherMethodHandler(final Registrar registrar) {
SQLCipherHandler(final Registrar registrar) {
super(registrar);
}

Expand Down
Expand Up @@ -9,11 +9,11 @@
import io.flutter.plugin.common.PluginRegistry.Registrar;
import net.sqlcipher.database.SQLiteCursor;

/** SQLiteCursorMethodHandler */
class SQLiteCursorMethodHandler extends FlutterMethodCallHandler {
/** SQLiteCursorHandler */
class SQLiteCursorHandler extends FlutterMethodCallHandler {
static final String CHANNEL = "flutter_sqlcipher/SQLiteCursor";

SQLiteCursorMethodHandler(final Registrar registrar) {
SQLiteCursorHandler(final Registrar registrar) {
super(registrar);
}

Expand Down
Expand Up @@ -18,15 +18,15 @@
import java.util.Map;
import net.sqlcipher.database.SQLiteDatabase;

/** SQLiteDatabaseMethodHandler */
/** SQLiteDatabaseHandler */
@SuppressWarnings("unchecked")
class SQLiteDatabaseMethodHandler extends FlutterMethodCallHandler {
class SQLiteDatabaseHandler extends FlutterMethodCallHandler {
static final String CHANNEL = "flutter_sqlcipher/SQLiteDatabase";

final Map<Integer, SQLiteDatabase> databases = new HashMap<>();
int databaseID;

SQLiteDatabaseMethodHandler(final Registrar registrar) {
SQLiteDatabaseHandler(final Registrar registrar) {
super(registrar);
}

Expand Down
Expand Up @@ -9,11 +9,11 @@
import io.flutter.plugin.common.PluginRegistry.Registrar;
import net.sqlcipher.database.SQLiteDatabase;

/** SQLiteMethodHandler */
class SQLiteMethodHandler extends FlutterMethodCallHandler {
/** SQLiteHandler */
class SQLiteHandler extends FlutterMethodCallHandler {
static final String CHANNEL = "flutter_sqlcipher/SQLite";

SQLiteMethodHandler(final Registrar registrar) {
SQLiteHandler(final Registrar registrar) {
super(registrar);
}

Expand Down

0 comments on commit 7b50283

Please sign in to comment.