mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 20:50:09 +00:00
Remove unreferenced EagerModuleProvider (#47678)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47678 No longer referenced and removed from public exports in D49752133 Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D66127071 fbshipit-source-id: 90284b26051902243b530658e5795dad31331695
This commit is contained in:
parent
bdf01be654
commit
a18aa481f0
@ -1,26 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react;
|
||||
|
||||
import com.facebook.react.bridge.NativeModule;
|
||||
import javax.inject.Provider;
|
||||
|
||||
/** Provider for an already initialized and non-lazy NativeModule. */
|
||||
class EagerModuleProvider implements Provider<NativeModule> {
|
||||
|
||||
private final NativeModule mModule;
|
||||
|
||||
public EagerModuleProvider(NativeModule module) {
|
||||
mModule = module;
|
||||
}
|
||||
|
||||
@Override
|
||||
public NativeModule get() {
|
||||
return mModule;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user