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:
Pieter De Baets 2024-11-19 06:26:03 -08:00 committed by Facebook GitHub Bot
parent bdf01be654
commit a18aa481f0

View File

@ -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;
}
}