Skip to content

Commit

Permalink
LPD-20641 Sort
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Mar 28, 2024
1 parent 3f0342c commit 77216d5
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ protected Function<String, String> getBooleanFunction() {

protected Function<String, String> getCastClobTextFunction() {
return _getCastFunction(
getCastClobTextPattern(), "CAST_CLOB_TEXT",
matcher -> replaceCastClobText(matcher));
matcher -> replaceCastClobText(matcher), "CAST_CLOB_TEXT",
getCastClobTextPattern());
}

protected Pattern getCastClobTextPattern() {
Expand All @@ -60,8 +60,8 @@ protected Pattern getCastClobTextPattern() {

protected Function<String, String> getCastLongFunction() {
return _getCastFunction(
getCastLongPattern(), "CAST_LONG",
matcher -> replaceCastLong(matcher));
matcher -> replaceCastLong(matcher), "CAST_LONG",
getCastLongPattern());
}

protected Pattern getCastLongPattern() {
Expand All @@ -70,8 +70,8 @@ protected Pattern getCastLongPattern() {

protected Function<String, String> getCastTextFunction() {
return _getCastFunction(
getCastTextPattern(), "CAST_TEXT",
matcher -> replaceCastText(matcher));
matcher -> replaceCastText(matcher), "CAST_TEXT",
getCastTextPattern());
}

protected Pattern getCastTextPattern() {
Expand Down Expand Up @@ -233,8 +233,8 @@ protected void setFunctions(Function... functions) {
}

private Function<String, String> _getCastFunction(
Pattern castPattern, String castName,
Function<Matcher, String> castFunction) {
Function<Matcher, String> castFunction, String castName,
Pattern castPattern) {

return new Function<String, String>() {

Expand Down

0 comments on commit 77216d5

Please sign in to comment.