We're updating the issue view to help you get more done. 

Prevent possible NullPointerException in ValidatorFactoryScopedContext.Builder

Description

As lgtm suggest, there's a possibility of null exception in the Builder. But based on the usage of the builder and the logic that was replaced by this same builder the default context cannot be null. Hence the first check in Builder's constructor should be removed and replaced with a Contracts assertion.

Environment

None

Status

Assignee

Marko Bekhta

Reporter

Marko Bekhta

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Trivial