Remove unnecessary prints
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user