Skip to content

Commit

Permalink
Merge 6871dd2 into 853b2a9
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavsinha347 committed Mar 17, 2021
2 parents 853b2a9 + 6871dd2 commit 12fb9d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)
<!-- Keep this up to date! After a release, change the tag name to the latest release -->
[unreleased changes details]: https://github.com/Adobe-Consulting-Services/acs-aem-commons/compare/acs-aem-commons-4.7.2...HEAD

### Fixed
- #2542 - Declaring VanityUrlAdjuster dynamic reference volatile
## 5.0.0 - 2021-03-14

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class VanityURLServiceImpl implements VanityURLService {
policy = ReferencePolicy.DYNAMIC,
policyOption = ReferencePolicyOption.GREEDY
)
private VanityUrlAdjuster vanityUrlAdjuster;
private volatile VanityUrlAdjuster vanityUrlAdjuster;

public boolean dispatch(SlingHttpServletRequest request, SlingHttpServletResponse response) throws ServletException, IOException, RepositoryException {
if (request.getAttribute(VANITY_DISPATCH_CHECK_ATTR) != null) {
Expand Down

0 comments on commit 12fb9d9

Please sign in to comment.