diff --git a/java/dagger/internal/DoubleCheck.java b/java/dagger/internal/DoubleCheck.java
index 6f5f046d1da..af82b7a7b76 100644
--- a/java/dagger/internal/DoubleCheck.java
+++ b/java/dagger/internal/DoubleCheck.java
@@ -98,9 +98,7 @@ public static
, T> javax.inject.Provider p
}
/** Returns a {@link Lazy} that caches the value from the given provider. */
- // This method is declared this way instead of " Lazy lazy(Provider delegate)"
- // to work around an Eclipse type inference bug: https://github.com/google/dagger/issues/949.
- public static , T> Lazy lazy(P provider) {
+ public static Lazy lazy(Provider provider) {
if (provider instanceof Lazy) {
@SuppressWarnings("unchecked")
final Lazy lazy = (Lazy) provider;