Skip to content

Validate ArtifactLocatorStrategy constructor inputs - #111

Merged
elharo merged 1 commit into
apache:masterfrom
Herrtian:fix/artifact-locator-null-checks
Jul 31, 2026
Merged

Validate ArtifactLocatorStrategy constructor inputs#111
elharo merged 1 commit into
apache:masterfrom
Herrtian:fix/artifact-locator-null-checks

Conversation

@Herrtian

@Herrtian Herrtian commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • validate required ArtifactLocatorStrategy constructor dependencies up front
  • delegate constructors through the full constructor so validation stays consistent
  • add tests for null factory, resolver, and localRepository inputs

Fixes #91

Validation

  • mvn -q -Dtest=ArtifactLocatorStrategyTest test
  • mvn -q test

@elharo
elharo merged commit f37aea4 into apache:master Jul 31, 2026
17 checks passed
@github-actions github-actions Bot added this to the 3.1.0 milestone Jul 31, 2026
@github-actions

Copy link
Copy Markdown

@elharo Please assign appropriate label to PR according to the type of change.

@elharo elharo added the bug Something isn't working label Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ArtifactLocatorStrategy: NPE from null factory/resolver/localRepository

2 participants