Skip to content

Commit

Permalink
Cleanup android warnings related to static interface declarations
Browse files Browse the repository at this point in the history
Reviewed By: fkgozali

Differential Revision: D7853681

fbshipit-source-id: d342e9dc9a1efa921d1421d545798e0b706745b4
  • Loading branch information
mdvacca authored and facebook-github-bot committed May 5, 2018
1 parent b756281 commit 1e68ca7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public NetworkRecordingModuleMock(ReactApplicationContext reactContext, boolean
mCompleteRequest = completeRequest;
}

public static interface RequestListener {
public interface RequestListener {
public void onRequest(String method, String url, ReadableArray header, ReadableMap data);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class ShakeDetector implements SensorEventListener {

private float mAccelerationX, mAccelerationY, mAccelerationZ;

public static interface ShakeListener {
public interface ShakeListener {
void onShake();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/
public class SizeMonitoringFrameLayout extends FrameLayout {

public static interface OnSizeChangedListener {
public interface OnSizeChangedListener {
void onSizeChanged(int width, int height, int oldWidth, int oldHeight);
}

Expand Down

0 comments on commit 1e68ca7

Please sign in to comment.