Skip to content

Commit

Permalink
Removed print of Principal from sample method
Browse files Browse the repository at this point in the history
  • Loading branch information
sapessi committed Jan 24, 2018
1 parent bf7ef18 commit 5fbba8e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5fbba8e

Please sign in to comment.