-
Notifications
You must be signed in to change notification settings - Fork 39
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
Don't enforce sorting of Spring resource locations #204
Conversation
"javax.xml.bind.annotation.XmlType#propOrder"); | ||
"javax.xml.bind.annotation.XmlType#propOrder", | ||
"org.springframework.test.context.TestPropertySource#locations", | ||
"org.springframework.test.context.TestPropertySource#value"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's also @PropertySource
; will add it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Stephan202 !
cff1ed2
to
cd337d8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased and added a commit :)
Congrats on your first Error Prone Support contribution! 🎉
"javax.xml.bind.annotation.XmlType#propOrder"); | ||
"javax.xml.bind.annotation.XmlType#propOrder", | ||
"org.springframework.test.context.TestPropertySource#locations", | ||
"org.springframework.test.context.TestPropertySource#value"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's also @PropertySource
; will add it :)
@@ -144,7 +145,13 @@ void identification() { | |||
" A secondEndpoint();", | |||
"", | |||
" @XmlType(propOrder = {\"field2\", \"field1\"})", | |||
" class Dummy {}", | |||
" class FirstDummy {}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use names that make future reordering less likely 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
Suggested commit message:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice @Ptijohn , thanks for opening the PR 🚀 !
Made one tiny tweak in the suggested commit message. Otherwise it sounds more like a general statement to me.
@rickie not clear what "there" refers to. Proposed something else. |
Thanks @Stephan202 and @rickie for the fast review + input! |
@TestPropertySource#locations/value
from being sorted.
All is in the title :)
Ticket is here: https://picnic.atlassian.net/browse/ANS-1117
Original context: https://github.com/PicnicSupermarket/picnic-store/pull/1596#discussion_r943618608