Cleanup android warnings related to static interface declarations

Reviewed By: fkgozali

Differential Revision: D7853681

fbshipit-source-id: d342e9dc9a1efa921d1421d545798e0b706745b4
This commit is contained in:
David Vacca 2018-05-04 17:50:37 -07:00 committed by Facebook Github Bot
parent b7562818e6
commit 1e68ca7dc8
4 changed files with 4 additions and 4 deletions

View File

@ -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();

View File

@ -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);
}

View File

@ -34,7 +34,7 @@ public class ShakeDetector implements SensorEventListener {
private float mAccelerationX, mAccelerationY, mAccelerationZ;
public static interface ShakeListener {
public interface ShakeListener {
void onShake();
}

View File

@ -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);
}