Avoid repeated retrieval of default group sequence in BeanMetadataImpl#getConstrainedPropertiesAsDescriptors()

Description

getDefaultGroupSequence() is invoked once per property in getConstrainedPropertiesAsDescriptors() (and similarly in getConstrainedMethodsAsDescriptors). That's fine for statically defined group sequences, but it triggers a configured default group sequence provider repeatedly, which should be avoided by fetching the sequence once and pass it to getConstrainedPropertiesAsDescriptors() etc.

Environment

None

Status

Assignee

Gunnar Morling

Reporter

Gunnar Morling

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure