Skip to content

Commit

Permalink
Add NullMarked annotation to RandomDuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mkutz committed Aug 19, 2024
1 parent ab7e8c1 commit 223a199
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import java.security.SecureRandom;
import java.time.Duration;
import org.jspecify.annotations.NullMarked;

/** Generates random {@link Duration}s. */
@NullMarked
public class RandomDuration {

private RandomDuration() {}
Expand Down

0 comments on commit 223a199

Please sign in to comment.