Skip to content

Commit d360cc6

Browse files
committed
Remove the Random instance as well.
1 parent 57d036b commit d360cc6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: tck/src/main/java/org/reactivestreams/tck/PublisherVerification.java

-1
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,6 @@ public void required_spec309_requestNegativeNumberMustSignalIllegalArgumentExcep
884884
@Override
885885
public void run(Publisher<T> pub) throws Throwable {
886886
final ManualSubscriber<T> sub = env.newManualSubscriber(pub);
887-
final Random r = new Random();
888887
sub.request(-1);
889888
sub.expectErrorWithMessage(IllegalArgumentException.class, "3.9"); // we do require implementations to mention the rule number at the very least
890889
}

0 commit comments

Comments
 (0)