Skip to content

Commit

Permalink
Fix typo: trailling=>trailing (#7307)
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert authored Aug 25, 2023
1 parent fd1daba commit 11336f6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class RedirectionResource {

private static final String FORBID_EXTENSION_PATTERN = "/{file:[^\\.]*}";
private static final String TRAILING_DIR_PATTERN = "/{traillingDir:.*}/";
private static final String TRAILING_DIR_PATTERN = "/{trailingDir:.*}/";

@GetMapping(
value = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {{packageName}}.shared.generation.domain.ExcludeFromGeneratedCodeCoverage
class RedirectionResource {
private static final String FORBID_EXTENSION_PATTERN = "/{file:[^\\.]*}";
private static final String TRAILING_DIR_PATTERN = "/{traillingDir:.*}/";
private static final String TRAILING_DIR_PATTERN = "/{trailingDir:.*}/";
@GetMapping(
value = {
FORBID_EXTENSION_PATTERN,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void shouldReplaceMultipleNeedles() {
<!-- needle !-->
<!-- needle !--> with trailling text
<!-- needle !--> with trailing text
</root>
""",
"<element />"
Expand All @@ -134,7 +134,7 @@ void shouldReplaceMultipleNeedles() {
<element />
<!-- needle !-->
<element />
<!-- needle !--> with trailling text
<!-- needle !--> with trailing text
</root>
"""
);
Expand Down

0 comments on commit 11336f6

Please sign in to comment.