Skip to content

Commit

Permalink
Change toImmutableSet to use DaggerStreams rather than Guava.
Browse files Browse the repository at this point in the history
In a follow-up, I'll look into why none of our METADATA or presubmit checks caught this and add a fix to prevent this in the future.

Fixes #2904

RELNOTES=Fix #2904: Change toImmutableSet to use DaggerStreams rather than Guava.
PiperOrigin-RevId: 400022526
  • Loading branch information
bcorso authored and Dagger Team committed Sep 30, 2021
1 parent 0899a32 commit 43a7fe1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

package dagger.hilt.android.processor.internal.androidentrypoint;

import static com.google.common.collect.ImmutableSet.toImmutableSet;
import static com.google.common.collect.Iterables.getOnlyElement;
import static dagger.internal.codegen.extension.DaggerCollectors.toOptional;
import static dagger.internal.codegen.extension.DaggerStreams.toImmutableSet;
import static java.util.stream.Collectors.joining;
import static javax.lang.model.element.Modifier.PRIVATE;

Expand Down

0 comments on commit 43a7fe1

Please sign in to comment.