Skip to content

Commit 9aa34d8

Browse files
committed
Package has the same code style with rest of the code base now.
1 parent 657926b commit 9aa34d8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/android/storage/src/main/java/org/pgsqlite/SQLitePluginPackage.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
*/
66
package org.pgsqlite;
77

8-
import android.app.Activity;
9-
108
import com.facebook.react.ReactPackage;
119
import com.facebook.react.bridge.JavaScriptModule;
1210
import com.facebook.react.bridge.NativeModule;
@@ -23,22 +21,22 @@
2321

2422
public class SQLitePluginPackage implements ReactPackage {
2523

26-
private final DatabaseConnectionProvider mProvider;
24+
private final DatabaseConnectionProvider provider;
2725

2826
public SQLitePluginPackage() {
2927
this(new DefaultConnectionProvider());
3028
}
3129

3230
public SQLitePluginPackage(DatabaseConnectionProvider provider) {
33-
mProvider = provider;
31+
this.provider = provider;
3432
}
3533

3634
@Override
3735
public List<NativeModule> createNativeModules(
3836
ReactApplicationContext reactContext) {
3937
List<NativeModule> modules = new ArrayList<>();
4038

41-
modules.add(new SQLitePlugin(reactContext, mProvider));
39+
modules.add(new SQLitePlugin(reactContext, provider));
4240

4341
return modules;
4442
}

0 commit comments

Comments
 (0)