Skip to content
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

Add new KiwiConstraintViolations utilities #1171

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

sleberknight
Copy link
Member

  • Add asMap, asSingleValuedMap, asMultiValuedMap, and asMultimap methods to convert a Set of ConstraintViolation into a JDK or Guava Multimap. Overloads provide the ability to customize the translation from a property Path to the map key.
  • Add pathStringOf, a pure convenience method to eliminate boilerplate.
  • Clean up a few minor grammatical errors in javadoc.

Closes #1169
Closes #1170

* Add asMap, asSingleValuedMap, asMultiValuedMap, and asMultimap
  methods to convert a Set of ConstraintViolation into a JDK or
  Guava Multimap. Overloads provide the ability to customize the
  translation from a property Path to the map key.
* Add pathStringOf, a pure convenience method to eliminate boilerplate.
* Clean up a few minor grammatical errors in javadoc.

Closes #1169
Closes #1170
@sleberknight sleberknight self-assigned this Jul 27, 2024
@sleberknight sleberknight requested a review from dsingley July 27, 2024 19:52
Copy link

sonarcloud bot commented Jul 29, 2024

@sleberknight sleberknight merged commit f4436d0 into main Jul 29, 2024
5 checks passed
@sleberknight sleberknight deleted the new-KiwiConstraintViolations-utils branch July 29, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants