Skip to content

Commit

Permalink
Update checkstyle violations after update
Browse files Browse the repository at this point in the history
  • Loading branch information
DanCatchpole committed Nov 25, 2024
1 parent 3167b72 commit 76c64de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public String getCourtEmail(CaseData caseData) {
/**
* This method is intended to not send a notification to CTSC but will continue to send to court email when
* required.
*
* <p>
* Returns null if the CaseData sendToCtsc field is set to Yes.<br/>
* Otherwise will return the RCJ High Court email or the selected court email.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ public OrderQuestionBlock accept() {
@Override
public Map<String, Object> prePopulate(CaseData caseData) {

Map<String, Object> data = new HashMap<>();

if (hasDataAlreadySet(caseData)) {
return Map.of();
}
Expand All @@ -56,6 +54,8 @@ public Map<String, Object> prePopulate(CaseData caseData) {
return Map.of();
}

Map<String, Object> data = new HashMap<>();

if (selectedApplicationBundle instanceof C2DocumentBundle
&& ((C2DocumentBundle) selectedApplicationBundle).getC2AdditionalOrdersRequested().contains(
PARENTAL_RESPONSIBILITY)) {
Expand Down

0 comments on commit 76c64de

Please sign in to comment.