Remove commented code
This commit is contained in:
parent
44286f5b94
commit
d0cf299617
1 changed files with 0 additions and 4 deletions
|
@ -51,10 +51,6 @@ public class FlightController {
|
||||||
|
|
||||||
@PostMapping("/flight/takeoff")
|
@PostMapping("/flight/takeoff")
|
||||||
public ResponseEntity<Serializable> takeoff(@RequestBody FlightTakeoffTo start) {
|
public ResponseEntity<Serializable> takeoff(@RequestBody FlightTakeoffTo start) {
|
||||||
// TODO tutorial-4.2: Remove this commented-out code
|
|
||||||
// for (int i = 0; i <= 10; i++) {
|
|
||||||
// System.out.println("Just printing i:" + i);
|
|
||||||
// }
|
|
||||||
log.debug("Start\n{}", start);
|
log.debug("Start\n{}", start);
|
||||||
|
|
||||||
flightService.takeoff(start);
|
flightService.takeoff(start);
|
||||||
|
|
Loading…
Reference in a new issue