Skip to content

Migrate from Storm-shaded Commons Lang to Commons Lang 3#1835

Merged
rzo1 merged 1 commit intomainfrom
remove-imports-from-storm-shade
Mar 22, 2026
Merged

Migrate from Storm-shaded Commons Lang to Commons Lang 3#1835
rzo1 merged 1 commit intomainfrom
remove-imports-from-storm-shade

Conversation

@rzo1
Copy link
Contributor

@rzo1 rzo1 commented Mar 22, 2026

  • Replace org.apache.storm.shade.org.apache.commons.lang.StringUtils with org.apache.commons.lang3.StringUtils in core, opensearch, and solr modules
  • Prepares for upcoming Storm release which will drop the shaded Commons Lang 2
  • commons-lang3 was already a declared dependency in core; external modules receive it transitively
  • All usages (isBlank, isNotBlank) are API-compatible between lang2 and lang3

…dn'T use the shaded dependency in SC anyway.
@rzo1 rzo1 added this to the 3.5.2 milestone Mar 22, 2026
@rzo1 rzo1 added the dependencies Pull requests that update a dependency file label Mar 22, 2026
Copy link
Member

@sigee sigee left a comment

Choose a reason for hiding this comment

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

LGTM

@rzo1 rzo1 merged commit b8c18c0 into main Mar 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants