Skip to content

Commit f78f7cf

Browse files
java-team-github-botGuice Team
authored andcommitted
Temporarily down grade the warning to INFO level.
The warning is causing some test failures due to unexpected log messages. PiperOrigin-RevId: 355507369
1 parent 9a83236 commit f78f7cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extensions/assistedinject/src/com/google/inject/assistedinject/FactoryProvider2.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,9 @@ public TypeLiteral<?> getImplementationType() {
377377
&& userLookups == null
378378
&& !Modifier.isPublic(factory.getClass().getModifiers())) {
379379
warnedAboutUserLookups = true;
380+
// TODO(b/179303203): Upgrade this back to WARNING level
380381
logger.log(
381-
Level.WARNING,
382+
Level.INFO,
382383
"AssistedInject factory {0} is non-public and has javac-generated default methods. "
383384
+ " Please pass a `MethodHandles.lookups()` with"
384385
+ " FactoryModuleBuilder.withLookups when using this factory so that Guice can"

0 commit comments

Comments
 (0)