Skip to content

Commit 12c1125

Browse files
MODTLR-9 fix formatting
1 parent ffef07f commit 12c1125

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/main/java/org/folio/controller/EcsTlrController.java

+2-8
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,15 @@ public ResponseEntity<EcsTlr> postEcsTlr(EcsTlr ecsTlr) {
4343
@Override
4444
public ResponseEntity<Void> putEcsTlrById(UUID requestId, EcsTlr ecsTlr) {
4545
log.debug("putEcsTlrById:: parameters requestId: {}, ecsTlr: {}", () -> requestId, () -> ecsTlr);
46-
47-
HttpStatus httpStatus = ecsTlrService.update(requestId, ecsTlr)
48-
? NO_CONTENT
49-
: NOT_FOUND;
46+
HttpStatus httpStatus = ecsTlrService.update(requestId, ecsTlr) ? NO_CONTENT : NOT_FOUND;
5047

5148
return ResponseEntity.status(httpStatus).build();
5249
}
5350

5451
@Override
5552
public ResponseEntity<Void> deleteEcsTlrById(UUID requestId) {
5653
log.debug("deleteEcsTlrById:: parameters requestId: {}", requestId);
57-
58-
HttpStatus httpStatus = ecsTlrService.delete(requestId)
59-
? NO_CONTENT
60-
: NOT_FOUND;
54+
HttpStatus httpStatus = ecsTlrService.delete(requestId) ? NO_CONTENT : NOT_FOUND;
6155

6256
return ResponseEntity.status(httpStatus).build();
6357
}

0 commit comments

Comments
 (0)