Skip to content

Commit 5fbba8e

Browse files
committed
Removed print of Principal from sample method
1 parent bf7ef18 commit 5fbba8e

File tree

1 file changed

+0
-1
lines changed
  • samples/springboot/pet-store/src/main/java/com/amazonaws/serverless/sample/springboot/controller

1 file changed

+0
-1
lines changed

samples/springboot/pet-store/src/main/java/com/amazonaws/serverless/sample/springboot/controller/PetsController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ public Pet createPet(@RequestBody Pet newPet) {
4545

4646
@RequestMapping(path = "/pets", method = RequestMethod.GET)
4747
public Pet[] listPets(@RequestParam("limit") Optional<Integer> limit, Principal principal) {
48-
System.out.println(principal.getName());
4948
int queryLimit = 10;
5049
if (limit.isPresent()) {
5150
queryLimit = limit.get();

0 commit comments

Comments
 (0)