Remove unnecessary prints

This commit is contained in:
cugurlu
2019-04-14 18:28:04 +02:00
parent 048253a9d3
commit f20f010cb8
3 changed files with 0 additions and 4 deletions

View File

@@ -209,7 +209,6 @@ public class User {
throw new ApplicationException("Cannot add yourself as a friend"); throw new ApplicationException("Cannot add yourself as a friend");
} else { } else {
friends.add(user); friends.add(user);
System.out.print("Friend added!");
} }
} }
@@ -222,7 +221,6 @@ public class User {
throw new ApplicationException("This user is not your friend!"); throw new ApplicationException("This user is not your friend!");
} else { } else {
friends.remove(user); friends.remove(user);
System.out.print("Friend removed");
} }
} }

View File

@@ -114,7 +114,6 @@ public class UserController {
*/ */
@RequestMapping("/getFirst") @RequestMapping("/getFirst")
public Float getFirstFootprint(@RequestParam(value = "name") String name) { public Float getFirstFootprint(@RequestParam(value = "name") String name) {
System.out.println("hello");
Float footprint = userService.getFirstFootprint(name); Float footprint = userService.getFirstFootprint(name);
return footprint; return footprint;
} }

View File

@@ -63,7 +63,6 @@ public class CalculatorService {
.indexOf("<result_grand_total>") .indexOf("<result_grand_total>")
+ 20, response.getBody().indexOf("</result_grand_total>")); + 20, response.getBody().indexOf("</result_grand_total>"));
// to do: in not HTTP 200 or exception case throws exception // to do: in not HTTP 200 or exception case throws exception
System.out.println(Float.parseFloat(result));
return Float.parseFloat(result); return Float.parseFloat(result);
} }