Cleanup android warnings related to static interface declarations
Reviewed By: fkgozali Differential Revision: D7853681 fbshipit-source-id: d342e9dc9a1efa921d1421d545798e0b706745b4
This commit is contained in:
parent
b7562818e6
commit
1e68ca7dc8
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class ShakeDetector implements SensorEventListener {
|
|||
|
||||
private float mAccelerationX, mAccelerationY, mAccelerationZ;
|
||||
|
||||
public static interface ShakeListener {
|
||||
public interface ShakeListener {
|
||||
void onShake();
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue