Skip to content

Commit

Permalink
Refactor wildcard to generic type (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
seongahjo committed Mar 4, 2022
1 parent 75732ed commit 3f0daf9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ public FixtureMonkeyBuilder options(ArbitraryOption options) {
return this;
}

public FixtureMonkeyBuilder addAnnotatedArbitraryGenerator(
Class<?> clazz,
AnnotatedArbitraryGenerator<?> generator
public <T> FixtureMonkeyBuilder addAnnotatedArbitraryGenerator(
Class<T> clazz,
AnnotatedArbitraryGenerator<T> generator
) {
this.optionsBuilder.addAnnotatedArbitraryGenerator(clazz, generator);
return this;
Expand Down

0 comments on commit 3f0daf9

Please sign in to comment.