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
Assignees
Labels
in: test Issues in the test module status: backported An issue that has been backported to maintenance branches type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

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

Juergen Hoeller commented

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

@spring-projects-issues spring-projects-issues added type: bug A general bug in: test Issues in the test module status: backported An issue that has been backported to maintenance branches labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.1.4 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants