Skip to content

AnnotationAwareOrderComparator now exposes INSTANCE constant. #188

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

Closed
wants to merge 1 commit into from

Conversation

odrotbohm
Copy link
Member

The INSTANCE constant you could refer to on
AnnotationAwareOrderComparator actually referred to the constant declared
in OrderAwareComparator. Thus AnnotationAwareOrderComparator.INSTANCE
did not actually return an AnnotationAwareOrderComparator but an
OrderAwareComparator only. This commit introduces a dedicated constant
on AnnotationAwareOrderComparator to avoid this glitch.

Issue: SPR-10038

The INSTANCE constant you could refer to on
AnnotationAwareOrderComparator actually referred to the constant declared
in OrderAwareComparator. Thus AnnotationAwareOrderComparator.INSTANCE
did not actually return an AnnotationAwareOrderComparator but an
OrderAwareComparator only. This commit introduces a dedicated constant
on AnnotationAwareOrderComparator to avoid this glitch.

Issue: SPR-10038
cbeams added a commit that referenced this pull request Nov 26, 2012
# By Oliver Gierke
* SPR-10038:
  Introduce AnnotationAwareOrderComparator#INSTANCE
@ghost ghost assigned cbeams Nov 26, 2012
@cbeams
Copy link
Contributor

cbeams commented Nov 26, 2012

Thanks, Ollie. Just in time for RC2 as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants