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

DTSRD-2136. Update Name for a given organisation #1573

Open
wants to merge 82 commits into
base: master
Choose a base branch
from

Conversation

SabinaHMCTS
Copy link
Contributor

Jira link (if applicable)

Change description

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

rajkatla-hmcts
rajkatla-hmcts previously approved these changes Sep 11, 2024
responseEntity = restTemplate.exchange(urlPath, HttpMethod.PUT, requestEntity, Map.class);

} catch (RestClientResponseException ex) {
HashMap<String, Object> statusAndBody = new HashMap<>(2);
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: map creation could be replaced by using Map.of(k1, v1, k2, v2) factory method

return statusAndBody;
}

Map<String, Object> organisationResponse = new HashMap<>();
Copy link
Contributor

Choose a reason for hiding this comment

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

minor: map creation could be replaced by using Map.of(k1, v1, k2, v2) factory method

lukasz-wolski
lukasz-wolski previously approved these changes Sep 12, 2024
lukasz-wolski
lukasz-wolski previously approved these changes Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants