File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
interface_adapters/User_search_IA
screens/user_registration_screen Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 66/**
77 * User_search_IA.UserPresenter makes us implement showProfile to invert the dependency
88 */
9- public class UserPresenterClass implements UserPresenter {
9+ public class UserPresenterClass implements UserPresenter {
1010 @ Override
1111 public String showProfile (String username ) {
1212 // setting up access to the database of users:
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public void getUserCredentials(){
8686 }
8787
8888 public static void main (String [] args ){
89- Database testDB = new UserDatabase (new File ("newAccounts2 " ));
89+ Database testDB = new UserDatabase (new File ("newAccounts23 " ));
9090 UserLoginInteractor2 userLoginInteractor2 = new UserLoginInteractor2 (testDB , new UserChatsPresenter ());
9191 UserLoginPresenter userLoginPresenter = new UserLoginPresenter (testDB , userLoginInteractor2 );
9292 UserVerificationOutputView loginUI = new UserLoginUI (userLoginPresenter );
You can’t perform that action at this time.
0 commit comments