remove extraneous warning
Reviewed By: astreet Differential Revision: D3690014 fbshipit-source-id: 353a40aafc6a6e9f777ac80937713e1abb9cecc5
This commit is contained in:
parent
8af6aefd54
commit
750a46a12e
|
@ -501,10 +501,6 @@ public abstract class BaseJavaModule implements NativeModule {
|
||||||
public boolean supportsWebWorkers() {
|
public boolean supportsWebWorkers() {
|
||||||
ReactModule module = getClass().getAnnotation(ReactModule.class);
|
ReactModule module = getClass().getAnnotation(ReactModule.class);
|
||||||
if (module == null) {
|
if (module == null) {
|
||||||
FLog.w(
|
|
||||||
ReactConstants.TAG,
|
|
||||||
"Module " + getName() +
|
|
||||||
" lacks @ReactModule annotation, assuming false for supportsWebWorkers()");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return module.supportsWebWorkers();
|
return module.supportsWebWorkers();
|
||||||
|
|
Loading…
Reference in New Issue