Skip to content

Commit 7b50283

Browse files
committed
Simplified Java class names a tad.
1 parent d46a07b commit 7b50283

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

android/src/main/java/com/github/drydart/flutter_sqlcipher/FlutterSQLCipherPlugin.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ public static void registerWith(final Registrar registrar) {
1515

1616
SQLiteDatabase.loadLibs(registrar.context());
1717

18-
(new MethodChannel(registrar.messenger(), SQLCipherMethodHandler.CHANNEL))
19-
.setMethodCallHandler(new SQLCipherMethodHandler(registrar));
18+
(new MethodChannel(registrar.messenger(), SQLCipherHandler.CHANNEL))
19+
.setMethodCallHandler(new SQLCipherHandler(registrar));
2020

21-
(new MethodChannel(registrar.messenger(), SQLiteMethodHandler.CHANNEL))
22-
.setMethodCallHandler(new SQLiteMethodHandler(registrar));
21+
(new MethodChannel(registrar.messenger(), SQLiteHandler.CHANNEL))
22+
.setMethodCallHandler(new SQLiteHandler(registrar));
2323

24-
(new MethodChannel(registrar.messenger(), SQLiteDatabaseMethodHandler.CHANNEL))
25-
.setMethodCallHandler(new SQLiteDatabaseMethodHandler(registrar));
24+
(new MethodChannel(registrar.messenger(), SQLiteDatabaseHandler.CHANNEL))
25+
.setMethodCallHandler(new SQLiteDatabaseHandler(registrar));
2626

27-
(new MethodChannel(registrar.messenger(), SQLiteCursorMethodHandler.CHANNEL))
28-
.setMethodCallHandler(new SQLiteCursorMethodHandler(registrar));
27+
(new MethodChannel(registrar.messenger(), SQLiteCursorHandler.CHANNEL))
28+
.setMethodCallHandler(new SQLiteCursorHandler(registrar));
2929
}
3030
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
import io.flutter.plugin.common.PluginRegistry.Registrar;
1010
import net.sqlcipher.database.SQLiteDatabase;
1111

12-
/** SQLCipherMethodHandler */
13-
class SQLCipherMethodHandler extends FlutterMethodCallHandler {
12+
/** SQLCipherHandler */
13+
class SQLCipherHandler extends FlutterMethodCallHandler {
1414
static final String CHANNEL = "flutter_sqlcipher/SQLCipher";
1515

16-
SQLCipherMethodHandler(final Registrar registrar) {
16+
SQLCipherHandler(final Registrar registrar) {
1717
super(registrar);
1818
}
1919

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
import io.flutter.plugin.common.PluginRegistry.Registrar;
1010
import net.sqlcipher.database.SQLiteCursor;
1111

12-
/** SQLiteCursorMethodHandler */
13-
class SQLiteCursorMethodHandler extends FlutterMethodCallHandler {
12+
/** SQLiteCursorHandler */
13+
class SQLiteCursorHandler extends FlutterMethodCallHandler {
1414
static final String CHANNEL = "flutter_sqlcipher/SQLiteCursor";
1515

16-
SQLiteCursorMethodHandler(final Registrar registrar) {
16+
SQLiteCursorHandler(final Registrar registrar) {
1717
super(registrar);
1818
}
1919

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
import java.util.Map;
1919
import net.sqlcipher.database.SQLiteDatabase;
2020

21-
/** SQLiteDatabaseMethodHandler */
21+
/** SQLiteDatabaseHandler */
2222
@SuppressWarnings("unchecked")
23-
class SQLiteDatabaseMethodHandler extends FlutterMethodCallHandler {
23+
class SQLiteDatabaseHandler extends FlutterMethodCallHandler {
2424
static final String CHANNEL = "flutter_sqlcipher/SQLiteDatabase";
2525

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

29-
SQLiteDatabaseMethodHandler(final Registrar registrar) {
29+
SQLiteDatabaseHandler(final Registrar registrar) {
3030
super(registrar);
3131
}
3232

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
import io.flutter.plugin.common.PluginRegistry.Registrar;
1010
import net.sqlcipher.database.SQLiteDatabase;
1111

12-
/** SQLiteMethodHandler */
13-
class SQLiteMethodHandler extends FlutterMethodCallHandler {
12+
/** SQLiteHandler */
13+
class SQLiteHandler extends FlutterMethodCallHandler {
1414
static final String CHANNEL = "flutter_sqlcipher/SQLite";
1515

16-
SQLiteMethodHandler(final Registrar registrar) {
16+
SQLiteHandler(final Registrar registrar) {
1717
super(registrar);
1818
}
1919

0 commit comments

Comments
 (0)