Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Generated @Rest methods contain unnecessary block #1418

Closed

Description

@WonderCsabo

For example

@Override
public String register(LinkedMultiValueMap<String, String> registrationData) {
    {
        HttpEntity<LinkedMultiValueMap<String, String>> requestEntity = new HttpEntity<LinkedMultiValueMap<String, String>>(registrationData);
        return restTemplate.exchange(rootUrl.concat("/Users"), HttpMethod.POST, requestEntity, String.class).getBody();
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions