aboutsummaryrefslogtreecommitdiff
path: root/ufund-api/src/main/java/com
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-02-26 17:00:54 -0500
committerGunther6070 <haydenhartman10@yahoo.com>2025-02-26 17:00:54 -0500
commit98b66c0ccc3e555879f8d68bd61ea573184e4b3c (patch)
treeee640dc0ff9e616ff4526aae774aa869c5fd32e7 /ufund-api/src/main/java/com
parent173ebb5f2efb328f96cbd17d8bbe4acc07e74b84 (diff)
downloadJellySolutions-98b66c0ccc3e555879f8d68bd61ea573184e4b3c.tar.gz
JellySolutions-98b66c0ccc3e555879f8d68bd61ea573184e4b3c.tar.bz2
JellySolutions-98b66c0ccc3e555879f8d68bd61ea573184e4b3c.zip
Removed getUsers method
Diffstat (limited to 'ufund-api/src/main/java/com')
-rw-r--r--ufund-api/src/main/java/com/ufund/api/ufundapi/controller/UserController.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/UserController.java b/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/UserController.java
index 1af865d..a40c46f 100644
--- a/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/UserController.java
+++ b/ufund-api/src/main/java/com/ufund/api/ufundapi/controller/UserController.java
@@ -55,27 +55,6 @@ public class UserController {
}
/**
- * Responds to the GET request for all {@linkplain User user}
- *
- * @return ResponseEntity with array of {@link User user} objects (may be empty)
- * and
- * HTTP status of OK<br>
- * ResponseEntity with HTTP status of INTERNAL_SERVER_ERROR otherwise
- */
- @GetMapping("")
- public ResponseEntity<User[]> getUseers() {
- LOG.info("GET /users");
-
- try {
- User[] users = UserDAO.getUsers();
- return new ResponseEntity<>(users, HttpStatus.OK);
- } catch (IOException e) {
- LOG.log(Level.SEVERE, e.getLocalizedMessage());
- return new ResponseEntity<>(HttpStatus.INTERNAL_SERVER_ERROR);
- }
- }
-
- /**
* Responds to the GET request for a {@linkplain User user} for the given id
*
* @param id The id used to locate the {@link User user}