Skip to content

Commit

Permalink
fix comparison in MaskFormatter (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
claussenj authored Dec 2, 2024
1 parent f06b945 commit 2843cbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public Object getValue() {
for (int i = 0; i < editValue.length(); i++) {
char c = editPattern.charAt(i);
if (c == P_DIGIT || c == P_ALPHANUM || c == P_UPPERCASE
|| c == P_LOWERCASE || c == P_UHEXDIGIT || c != P_LHEXDIGIT) {
|| c == P_LOWERCASE || c == P_UHEXDIGIT || c == P_LHEXDIGIT) {
value.append(editValue.charAt(i));
}
}
Expand Down

0 comments on commit 2843cbe

Please sign in to comment.