Skip to content

Updated SimpleSavedRequest#getMethod #8686

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

Merged
merged 1 commit into from
Jul 8, 2020

Conversation

sentinalll
Copy link
Contributor

Before:

  1. SimpleSavedRequest#getMethod returned null
  2. SimpleSavedRequest(SavedRequest request) constructor did not set the method field from the request

After:

  1. SimpleSavedRequest#getMethod returns method property value
  2. SimpleSavedRequest(SavedRequest request) constructor sets the method field from request

Closes gh-8675

I have submitted the CLA

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 12, 2020
@jzheaux jzheaux self-assigned this Jun 15, 2020
@jzheaux jzheaux added in: web An issue in web modules (web, webmvc) and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 15, 2020
Copy link
Contributor

@jzheaux jzheaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, @sentinalll! I've left some feedback inline.

Before:
1. SimpleSavedRequest#getMethod returned null
2. SimpleSavedRequest(SavedRequest request) constructor did not set the method field from request

After:
1. SimpleSavedRequest#getMethod returns method property value
2. SimpleSavedRequest(SavedRequest request) constructor sets the method field from request

Closes spring-projectsgh-8675
@jzheaux jzheaux added status: duplicate A duplicate of another issue type: enhancement A general enhancement labels Jul 8, 2020
@jzheaux jzheaux merged commit 896b324 into spring-projects:master Jul 8, 2020
@jzheaux
Copy link
Contributor

jzheaux commented Jul 8, 2020

Thanks for the PR, @sentinalll! This is now merged into master.

@sentinalll sentinalll deleted the gh-8675 branch July 17, 2020 13:21
@jzheaux jzheaux added this to the 5.4.x milestone Aug 5, 2020
@jgrandja jgrandja modified the milestones: 5.4.x, 5.4.0-RC1 Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change getMethod() to return configured value in SimpleSavedRequest
4 participants