Skip to content

Conversation

@lukaszlenart
Copy link
Member

Closes WW-5419

@lukaszlenart
Copy link
Member Author

/cc: @gregh3269

@asfgit asfgit force-pushed the fix/WW-5419-tiles branch from e8caaac to b174f3e Compare April 21, 2024 12:11
/**
* Default pattern to be used to collect Tiles definitions if user didn't configure any
*/
public static final Set<String> TILES_DEFAULT_PATTERNS = Collections.unmodifiableSet(new HashSet<>(Arrays.asList(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically you need to deprecate this since it's been released in 6.4.0. But also there's no need to create the set anew each time below. You can just keep this field as is and update the value like so:

public static final Set<String> TILES_DEFAULT_PATTERNS = TextParseUtil.commaDelimitedStringToSet("*tiles*.xml");

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, fixed

@asfgit asfgit force-pushed the fix/WW-5419-tiles branch from b174f3e to a88cb74 Compare April 22, 2024 04:49
@sonarqubecloud
Copy link

@gregh3269
Copy link
Contributor

gregh3269 commented Apr 22, 2024

Looks ok (for webapp/WEB-INF/*tiles*.xml)

@lukaszlenart lukaszlenart merged commit 49b8eed into master May 6, 2024
@lukaszlenart lukaszlenart deleted the fix/WW-5419-tiles branch May 6, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants