Fix SimpleMaskChar access modifier

This commit is contained in:
mkpaz 2023-05-17 11:23:52 +04:00
parent ee0e241ad3
commit c2d0b998e5

@ -10,7 +10,7 @@ import java.util.function.UnaryOperator;
* The default {@link MaskChar} implementation that should be suitable * The default {@link MaskChar} implementation that should be suitable
* for anything except heavily custom logic. * for anything except heavily custom logic.
*/ */
final class SimpleMaskChar implements MaskChar { public final class SimpleMaskChar implements MaskChar {
private final Predicate<Character> matchExpr; private final Predicate<Character> matchExpr;
private final UnaryOperator<Character> transform; private final UnaryOperator<Character> transform;
@ -65,4 +65,4 @@ final class SimpleMaskChar implements MaskChar {
public static SimpleMaskChar fixed(char ch) { public static SimpleMaskChar fixed(char ch) {
return new SimpleMaskChar(c -> c == ch, UnaryOperator.identity(), ch, true); return new SimpleMaskChar(c -> c == ch, UnaryOperator.identity(), ch, true);
} }
} }