-
Notifications
You must be signed in to change notification settings - Fork 397
WICKET-7170: AnnotProxyFieldValueFactory now considers defaultCandida… #1310
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
Conversation
martin-g
left a comment
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.
Why several test classes are removed ?
Those classes were beans and interfaces only used by AnnotProxyFieldValueFactoryTest, so I inlined them as inner classes in the test. |
This makes the diff bigger and harder to review. I'd suggest to undo those changes. |
|
Hi @martin-g , A simple class, just to define a type without any properties and methods for exactly on testclass like should always be a inner class of the testclass. And have a look at the classes SpringBeanInjectable and the (same-structured) JakartaInjectInjectable: It is exactly build for AnnotProxyFieldValueFactoryTest. From AnnotProxyFieldValueFactoryTest: So this classes should also be inner classes in my opinion. Just not: The real diff in implementation ist not very much. This is just adding one functionality and a small refactoring:
But the test is massivley improved:
Kind regards |
|
Well, my experience is the opposite: restructuring and bugfix/feature impl should not be mixed in the same Pull Request! Even worse in the same commit! This way the bugfix/feature is hidden in a lot of noise (the restructuring). I am grateful for your contribution but I won't review it in its current state. |
|
I understand your point. I will split it into 2 PRs. |
|
Thank you, @hosea ! |
|
Follow-up PR is #1311: |
…te-Flag