|
@ -74,6 +74,13 @@ public class CredentialRepository implements CredentialRepositoryInterface{ |
|
|
|
|
|
|
|
|
public void updateUsername(int index, String newUsername){ |
|
|
public void updateUsername(int index, String newUsername){ |
|
|
|
|
|
|
|
|
|
|
|
try{ |
|
|
|
|
|
this.credentials.get(index).updateUsername(newUsername); |
|
|
|
|
|
} |
|
|
|
|
|
catch (IndexOutOfBoundsException outOfBoundsException) |
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|