From 5fbba8e19d90457f88bb295b79463643a89058fc Mon Sep 17 00:00:00 2001
From: sapessi <stefano.buliani@gmail.com>
Date: Wed, 24 Jan 2018 15:25:42 -0800
Subject: [PATCH] Removed print of Principal from sample method

---
 .../serverless/sample/springboot/controller/PetsController.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/samples/springboot/pet-store/src/main/java/com/amazonaws/serverless/sample/springboot/controller/PetsController.java b/samples/springboot/pet-store/src/main/java/com/amazonaws/serverless/sample/springboot/controller/PetsController.java
index cd879543a..2680d111b 100644
--- a/samples/springboot/pet-store/src/main/java/com/amazonaws/serverless/sample/springboot/controller/PetsController.java
+++ b/samples/springboot/pet-store/src/main/java/com/amazonaws/serverless/sample/springboot/controller/PetsController.java
@@ -45,7 +45,6 @@ public Pet createPet(@RequestBody Pet newPet) {
 
     @RequestMapping(path = "/pets", method = RequestMethod.GET)
     public Pet[] listPets(@RequestParam("limit") Optional<Integer> limit, Principal principal) {
-        System.out.println(principal.getName());
         int queryLimit = 10;
         if (limit.isPresent()) {
             queryLimit = limit.get();