mirror of
https://github.com/google/guice.git
synced 2024-04-21 12:32:36 +00:00
Temporarily down grade the warning to INFO level.
The warning is causing some test failures due to unexpected log messages. PiperOrigin-RevId: 355507369
This commit is contained in:
+2
-1
@@ -377,8 +377,9 @@ final class FactoryProvider2<F>
|
||||
&& userLookups == null
|
||||
&& !Modifier.isPublic(factory.getClass().getModifiers())) {
|
||||
warnedAboutUserLookups = true;
|
||||
// TODO(b/179303203): Upgrade this back to WARNING level
|
||||
logger.log(
|
||||
Level.WARNING,
|
||||
Level.INFO,
|
||||
"AssistedInject factory {0} is non-public and has javac-generated default methods. "
|
||||
+ " Please pass a `MethodHandles.lookups()` with"
|
||||
+ " FactoryModuleBuilder.withLookups when using this factory so that Guice can"
|
||||
|
||||
Reference in New Issue
Block a user