Skip to content

Commit

Permalink
Fix inverted equality.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgruber committed Jun 12, 2013
1 parent 7b56b7e commit 30cb6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/dagger/internal/FailoverLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 30cb6dc

Please sign in to comment.