Skip to content

Remove usage of StringUtils.firstNonBlank#633

Merged
yahavi merged 1 commit intojfrog:masterfrom
yahavi:rm-firstNonBlank
Mar 27, 2022
Merged

Remove usage of StringUtils.firstNonBlank#633
yahavi merged 1 commit intojfrog:masterfrom
yahavi:rm-firstNonBlank

Conversation

@yahavi
Copy link
Copy Markdown
Member

@yahavi yahavi commented Mar 25, 2022

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

Resolves jfrog/jenkins-artifactory-plugin#655
Resolves jfrog/jfrog-cli#1483

StringUtils.firstNonBlank introduced in 3.8, almost 4 years ago. In some cases, an older commons-lang3 jar may take precedence in the classpath. As a result, a NoSuchMethodError exception may appear.

@yahavi yahavi merged commit d2187d9 into jfrog:master Mar 27, 2022
@yahavi yahavi deleted the rm-firstNonBlank branch March 27, 2022 05:42
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.

NoSuchMethodError in version 3.16.1 Incompatibility between CLI 2.14.0 and maven 3.5.3

2 participants