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-projects-issues opened this issue Dec 25, 2018 · 1 comment

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues 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-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues 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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants