Skip to content

Commit

Permalink
Checkstyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pugnascotia committed Feb 9, 2021
1 parent 713cf88 commit 0708668
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static Object doProcess(Object input, Object pattern, Object replacement)
if ((input instanceof String || input instanceof Character) == false) {
throw new SqlIllegalArgumentException("A string/char is required; received [{}]", input);
}
if (!(pattern instanceof String || pattern instanceof Character)) {
if ((pattern instanceof String || pattern instanceof Character) == false) {
throw new SqlIllegalArgumentException("A string/char is required; received [{}]", pattern);
}
if ((replacement instanceof String || replacement instanceof Character) == false) {
Expand Down

0 comments on commit 0708668

Please sign in to comment.