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");
} else {
friends.add(user);
System.out.print("Friend added!");
}
}
@@ -222,7 +221,6 @@ public class User {
throw new ApplicationException("This user is not your friend!");
} else {
friends.remove(user);
System.out.print("Friend removed");
}
}

View File

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

View File

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