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

@WonderCsabo

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();
    }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions