Skip to content

Commit c5df45c

Browse files
committed
ST-2 bug on purpose
1 parent bed8af0 commit c5df45c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/sergiofreire/xray/tutorials/springboot/boundary/UserRestController.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ public ResponseEntity<User> getCarById(@PathVariable(value = "id") Long id)
3939

4040
@GetMapping(path="/users" )
4141
public List<User> getAllUsers() {
42-
return userService.getAllUsers();
42+
// return userService.getAllUsers();
43+
// bug on purpose ...
44+
return null;
4345
}
4446

4547
@DeleteMapping("/users/{id}")

0 commit comments

Comments
 (0)