Skip to content

Commit

Permalink
Revert "testing SQ sec hotspots"
Browse files Browse the repository at this point in the history
This reverts commit 21cfbd7.
  • Loading branch information
ms9698 committed Nov 19, 2024
1 parent aaffb50 commit e299ccc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* Utility methods for Schema Properties.
*/
public final class PropertiesUtil {
private static final Pattern PROPERTY_ALLOWED_CHARACTERS = Pattern.compile("[a-zA-Z0-9|-]*+");
private static final Pattern PROPERTY_ALLOWED_CHARACTERS = Pattern.compile("[a-zA-Z0-9|-]*");

private PropertiesUtil() {
// Private constructor to prevent instantiation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class PropertiesUtilTest {
void shouldThrowExceptionWithInvalidStringName() {
assertThatIllegalArgumentException()
.isThrownBy(() -> PropertiesUtil.validateName(INVALID_STRING))
.withMessage("Property is invalid: inv@l1dStr|ng&^, it must match regex: [a-zA-Z0-9|-]*+");
.withMessage("Property is invalid: inv@l1dStr|ng&^, it must match regex: [a-zA-Z0-9|-]*");
}

@Test
Expand Down

0 comments on commit e299ccc

Please sign in to comment.