mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 17:30:38 +08:00
remove extraneous warning
Reviewed By: astreet Differential Revision: D3690014 fbshipit-source-id: 353a40aafc6a6e9f777ac80937713e1abb9cecc5
This commit is contained in:
committed by
Facebook Github Bot 6
parent
8af6aefd54
commit
750a46a12e
@@ -501,10 +501,6 @@ public abstract class BaseJavaModule implements NativeModule {
|
||||
public boolean supportsWebWorkers() {
|
||||
ReactModule module = getClass().getAnnotation(ReactModule.class);
|
||||
if (module == null) {
|
||||
FLog.w(
|
||||
ReactConstants.TAG,
|
||||
"Module " + getName() +
|
||||
" lacks @ReactModule annotation, assuming false for supportsWebWorkers()");
|
||||
return false;
|
||||
}
|
||||
return module.supportsWebWorkers();
|
||||
|
||||
Reference in New Issue
Block a user