Skip to content

Commit 31585f8

Browse files
committed
chore: reverted RegExUtils.removePattern() signature
1 parent 57856ef commit 31585f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/github/switcherapi/client/service/validators/DateTimeValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public abstract class DateTimeValidator extends Validator {
1919
protected String getFullDate(final String date) {
2020
SwitcherUtils.debug(logger, LOG_DATE, date);
2121

22-
final String time = RegExUtils.removePattern((CharSequence) date, FULL_DATE_REGEX).trim();
22+
final String time = RegExUtils.removePattern(date, FULL_DATE_REGEX).trim();
2323
return getFullTime(date, time);
2424
}
2525

0 commit comments

Comments
 (0)