Skip to content

Commit 320889e

Browse files
committed
seal the class.
1 parent e35d757 commit 320889e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jetCheck/src/main/java/com/github/simy4/coregex/jetCheck/CoregexGenerator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import java.util.regex.Pattern;
2121
import org.jetbrains.jetCheck.Generator;
2222

23-
public class CoregexGenerator {
23+
public final class CoregexGenerator {
2424
public static Generator<String> of(String regex) {
2525
return of(Pattern.compile(regex));
2626
}
@@ -35,4 +35,6 @@ public static Generator<String> of(Pattern pattern) {
3535
generationEnvironment ->
3636
coregex.generate(generationEnvironment.generate(Generator.integers())));
3737
}
38+
39+
private CoregexGenerator() {}
3840
}

0 commit comments

Comments
 (0)