Skip to content
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

MockMvcResultMatchers.forwardedUrl argument is not declared as nullable [SPR-17623] #22155

Closed
spring-issuemaster opened this issue Dec 25, 2018 · 1 comment
Assignees
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Dec 25, 2018

Piotr Turski opened SPR-17623 and commented

MockMvcResultMatchers.forwardedUrl(null)

according to this jira ticket response null parameter is allowed and advised

 but package-info contains @NonNullApi so kotlin forbids using null

 

more details in stackoverflow post

 

 

 


Affects: 5.0.11, 5.1.3

Referenced from: commits 49cc5f2, 7a7958f

Backported to: 5.0.12

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Dec 25, 2018

Juergen Hoeller commented

Good point, I'll also backport this to 5.0.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.