From 5141d8ec0393426ca7b1edce9771a25a1874a9e0 Mon Sep 17 00:00:00 2001 From: Daniel Zdravkovic <3012893@stud.hs-mannheim.de> Date: Tue, 11 Jun 2024 11:00:28 +0200 Subject: [PATCH] sign_in_user method minor change --- src/main/java/de/hs_mannheim/domain/System.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/hs_mannheim/domain/System.java b/src/main/java/de/hs_mannheim/domain/System.java index 2a817b6..ab7c799 100644 --- a/src/main/java/de/hs_mannheim/domain/System.java +++ b/src/main/java/de/hs_mannheim/domain/System.java @@ -82,8 +82,8 @@ public class System { return all_users; } - public boolean sign_in_user(String username, String password) throws IOException { - ArrayList mem = new ArrayList<>(get_all_user()); + public boolean sign_in_user(String username, String password) { + ArrayList mem = get_all_user(); for (User user : mem) { if (user.getUsername().equals(username) && decoding(user.getPassword()).equals(password)) {