-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce usage of Apache Commons Lang 2 #3409
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3409 +/- ##
============================================
+ Coverage 55.34% 55.55% +0.20%
- Complexity 5543 5582 +39
============================================
Files 728 728
Lines 29705 29792 +87
Branches 3875 3886 +11
============================================
+ Hits 16440 16550 +110
+ Misses 11722 11689 -33
- Partials 1543 1553 +10 ☔ View full report in Codecov by Sentry. |
@kwin You were right, we should convert the on-prem bundle into a fragment; I did this as part of this PR as we will most likely need this once an alternative for the MailTemplate is available. |
@kwin Do you think we can already apply this? The remaining usage will be replaced once an alternative API is available for Cloud Service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good except for one small glitch in the Maven name.
bundle-onprem/pom.xml
Outdated
@@ -33,13 +33,18 @@ | |||
<!-- ====================================================================== --> | |||
|
|||
<artifactId>acs-aem-commons-bundle-onprem</artifactId> | |||
<name>ACS AEM Commons Bundle - On Prem</name> | |||
<description>Core ACS AEM Commons OSGi Bundle for AEM on prem only</description> | |||
<name>ACS AEM Commons - Bundle Fragment (for On Prem</name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is missing a closing parenthesis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spotting, fixed now
Replace usage of Apache Commons Lang 2 with Apache Commons Lang 3
As noted in #3408 there are two places remaining (MailTemplate) which can be replaced as soon as there is an alternative.
This fixes #3408