Skip to content

Commit

Permalink
DAT-18792: sonar lint issue fix - updated replace patern from single …
Browse files Browse the repository at this point in the history
…characters enumeration to character class.
  • Loading branch information
Mykhailo Savchenko committed Oct 16, 2024
1 parent eb0557d commit 6cb528a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected CreateTableChange createCreateTableChange() {
}

private String sanitizeClusterColumns(String clusterColumnProperty) {
Pattern pattern = Pattern.compile("\\[|\\]|\\\"");
Pattern pattern = Pattern.compile("[\\[\\]\\\"]");
return clusterColumnProperty.replaceAll(pattern.toString(), "");
}
}

0 comments on commit 6cb528a

Please sign in to comment.