Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Commit b2a61bd

Browse files
committed
Fix task description AccountRestController.java
1 parent 4b341e3 commit b2a61bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

account-rest-api/src/main/java/com/bobocode/web/controller/AccountRestController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
* todo: 4. Implement method that handles GET request with id as path variable and returns account by id
1111
* todo: 5. Implement method that handles POST request, receives account as request body, saves account and returns it
1212
* todo: Configure HTTP response status code 201 - CREATED
13-
* todo: 5. Implement method that handles PUT request with id as path variable and receives account as request body.
13+
* todo: 6. Implement method that handles PUT request with id as path variable and receives account as request body.
1414
* todo: It check if account id and path variable are the same and throws {@link IllegalStateException} otherwise.
1515
* todo: Then it saves received account. Configure HTTP response status code 204 - NO CONTENT
16-
* todo: 6. Implement method that handles DELETE request with id as path variable removes an account by id
16+
* todo: 7. Implement method that handles DELETE request with id as path variable removes an account by id
1717
* todo: Configure HTTP response status code 204 - NO CONTENT
1818
*/
1919
public class AccountRestController {

0 commit comments

Comments
 (0)