remove extraneous warning

Reviewed By: astreet

Differential Revision: D3690014

fbshipit-source-id: 353a40aafc6a6e9f777ac80937713e1abb9cecc5
This commit is contained in:
Felix Oghina 2016-08-09 05:20:19 -07:00 committed by Facebook Github Bot 6
parent 8af6aefd54
commit 750a46a12e
1 changed files with 0 additions and 4 deletions

View File

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