Skip to content

Commit

Permalink
Use our StringUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
sambsnyd committed Jan 6, 2025
1 parent 28d88c4 commit 621dcfa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

import lombok.EqualsAndHashCode;
import lombok.Value;
import org.apache.commons.lang3.StringUtils;
import org.jspecify.annotations.Nullable;
import org.openrewrite.internal.StringUtils;
import org.openrewrite.marker.SearchResult;
import org.openrewrite.table.SourcesFiles;

Expand Down Expand Up @@ -52,7 +52,7 @@ public FindSourceFiles(@Nullable String filePattern) {
.map(Arrays::stream)
.orElseGet(Stream::empty)
.map(String::trim)
.filter(StringUtils::isNotBlank)
.filter(StringUtils::isNotEmpty)
.map(FindSourceFiles::normalize)
.toArray(String[]::new);
}
Expand Down

0 comments on commit 621dcfa

Please sign in to comment.