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 6
6
/**
7
7
* User_search_IA.UserPresenter makes us implement showProfile to invert the dependency
8
8
*/
9
- public class UserPresenterClass implements UserPresenter {
9
+ public class UserPresenterClass implements UserPresenter {
10
10
@ Override
11
11
public String showProfile (String username ) {
12
12
// 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(){
86
86
}
87
87
88
88
public static void main (String [] args ){
89
- Database testDB = new UserDatabase (new File ("newAccounts2 " ));
89
+ Database testDB = new UserDatabase (new File ("newAccounts23 " ));
90
90
UserLoginInteractor2 userLoginInteractor2 = new UserLoginInteractor2 (testDB , new UserChatsPresenter ());
91
91
UserLoginPresenter userLoginPresenter = new UserLoginPresenter (testDB , userLoginInteractor2 );
92
92
UserVerificationOutputView loginUI = new UserLoginUI (userLoginPresenter );
You can’t perform that action at this time.
0 commit comments