diff --git a/core/src/main/java/dagger/internal/FailoverLoader.java b/core/src/main/java/dagger/internal/FailoverLoader.java index be9b476acf6..9457260f765 100644 --- a/core/src/main/java/dagger/internal/FailoverLoader.java +++ b/core/src/main/java/dagger/internal/FailoverLoader.java @@ -73,7 +73,7 @@ public final class FailoverLoader implements Loader { @Override public StaticInjection getStaticInjection(Class injectedClass) { try { StaticInjection result = GeneratedAdapters.initStaticInjection(injectedClass); - if (result != null) { + if (result == null) { result = ReflectiveStaticInjection.create(injectedClass); } return result;