aboutsummaryrefslogtreecommitdiff
path: root/ufund-api/src/main/java/com/ufund/api/ufundapi/persistence/UserFileDAO.java
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-api/src/main/java/com/ufund/api/ufundapi/persistence/UserFileDAO.java')
-rw-r--r--ufund-api/src/main/java/com/ufund/api/ufundapi/persistence/UserFileDAO.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/ufund-api/src/main/java/com/ufund/api/ufundapi/persistence/UserFileDAO.java b/ufund-api/src/main/java/com/ufund/api/ufundapi/persistence/UserFileDAO.java
index 9b206c8..97bc378 100644
--- a/ufund-api/src/main/java/com/ufund/api/ufundapi/persistence/UserFileDAO.java
+++ b/ufund-api/src/main/java/com/ufund/api/ufundapi/persistence/UserFileDAO.java
@@ -58,13 +58,6 @@ public class UserFileDAO implements UserDAO {
}
}
- /**
- * Return the user with the String name name or null otherwise
- *
- * @param username Name of desired user
- *
- * @return Desired user, null otherwise
- */
@Override
public User getUser(String username) {
synchronized (users) {
@@ -72,14 +65,6 @@ public class UserFileDAO implements UserDAO {
}
}
- /**
- * Create a User user
- *
- * @param user User to create
- *
- * @return Desired created user
- * @throws IOException If there was an IO issue saving the file
- */
@Override
public User addUser(User user) throws IOException {
synchronized (users) {
@@ -92,15 +77,6 @@ public class UserFileDAO implements UserDAO {
}
}
- /**
- * Update a user that matches the supplied name
- *
- * @param name The name of the user
- * @param newUser New user data
- *
- * @return Desired user, null otherwise
- * @throws IOException If there was an IO issue saving the file
- */
@Override
public User updateUser(User newUser, String name) throws IOException {
synchronized (users) {
@@ -114,14 +90,6 @@ public class UserFileDAO implements UserDAO {
}
}
- /**
- * Delete a user matching the name
- *
- * @param username The name of the user
- *
- * @return True if deleted, false otherwise
- * @throws IOException If there was an IO issue saving the file
- */
@Override
public boolean deleteUser(String username) throws IOException {
synchronized (users) {