diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/ReactTestFactory.java b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/ReactTestFactory.java index c15ffc29f..20cbfb938 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/ReactTestFactory.java +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/ReactTestFactory.java @@ -14,7 +14,7 @@ import com.facebook.react.bridge.CatalystInstance; import com.facebook.react.bridge.NativeModule; public interface ReactTestFactory { - public static interface ReactInstanceEasyBuilder { + interface ReactInstanceEasyBuilder { ReactInstanceEasyBuilder setContext(Context context); ReactInstanceEasyBuilder addNativeModule(NativeModule module); CatalystInstance build(); diff --git a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/network/NetworkRecordingModuleMock.java b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/network/NetworkRecordingModuleMock.java index 9a6917078..0f5c96831 100644 --- a/ReactAndroid/src/androidTest/java/com/facebook/react/testing/network/NetworkRecordingModuleMock.java +++ b/ReactAndroid/src/androidTest/java/com/facebook/react/testing/network/NetworkRecordingModuleMock.java @@ -47,7 +47,7 @@ public class NetworkRecordingModuleMock extends ReactContextBaseJavaModule { mCompleteRequest = completeRequest; } - public static interface RequestListener { + public interface RequestListener { public void onRequest(String method, String url, ReadableArray header, ReadableMap data); } diff --git a/ReactAndroid/src/main/java/com/facebook/react/common/ShakeDetector.java b/ReactAndroid/src/main/java/com/facebook/react/common/ShakeDetector.java index 5d1441507..ad45c64d2 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/common/ShakeDetector.java +++ b/ReactAndroid/src/main/java/com/facebook/react/common/ShakeDetector.java @@ -34,7 +34,7 @@ public class ShakeDetector implements SensorEventListener { private float mAccelerationX, mAccelerationY, mAccelerationZ; - public static interface ShakeListener { + public interface ShakeListener { void onShake(); } diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/SizeMonitoringFrameLayout.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/SizeMonitoringFrameLayout.java index 19af1031a..f7dd744c4 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/SizeMonitoringFrameLayout.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/common/SizeMonitoringFrameLayout.java @@ -20,7 +20,7 @@ import android.widget.FrameLayout; */ public class SizeMonitoringFrameLayout extends FrameLayout { - public static interface OnSizeChangedListener { + public interface OnSizeChangedListener { void onSizeChanged(int width, int height, int oldWidth, int oldHeight); }