Skip to content

Commit 4bbf0f7

Browse files
committed
chore: add bad logging to trigger codeQL
1 parent 3ba9b93 commit 4bbf0f7

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package uk.gov.hmcts.cp.controllers;
2+
3+
import jakarta.validation.constraints.NotNull;
4+
import lombok.RequiredArgsConstructor;
5+
import lombok.extern.slf4j.Slf4j;
6+
import org.springframework.http.ResponseEntity;
7+
import org.springframework.web.bind.annotation.RestController;
8+
9+
@RestController
10+
@RequiredArgsConstructor
11+
@Slf4j
12+
public class BadController {
13+
14+
public ResponseEntity<String> badController(@NotNull final String example) {
15+
log.info("badController example for {}", example);
16+
return ResponseEntity.ok("Bad logging");
17+
}
18+
}

0 commit comments

Comments
 (0)