Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make NameAwareAttributes Iterable #937

Closed
jzheaux opened this issue Oct 10, 2024 · 0 comments
Closed

Make NameAwareAttributes Iterable #937

jzheaux opened this issue Oct 10, 2024 · 0 comments

Comments

@jzheaux
Copy link
Contributor

jzheaux commented Oct 10, 2024

Working with NamingEnumerations can be cumbersome. Specifically, since each of its methods throws a checked exception, it can be challenging to use its contents inside of a lambda.

If NameAwareAttributes implements Iterable<NameAwareAttribute>, then aside from it being able to use an enhanced for loop, it can also be converted to a stream and use the Stream API.

When adding this, tests should be added to NameAwareAttributesTests to confirm that iteration works.

@jzheaux jzheaux added this to the 3.3.0-M1 milestone Oct 10, 2024
@jzheaux jzheaux added the status: ideal-for-contribution An issue that we actively are looking for someone to help us with label Oct 10, 2024
@jzheaux jzheaux self-assigned this Jan 7, 2025
@jzheaux jzheaux added in: core and removed status: ideal-for-contribution An issue that we actively are looking for someone to help us with Epic labels Jan 7, 2025
@jzheaux jzheaux closed this as completed in 9c978b7 Jan 7, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant