@ -1,9 +1,5 @@
public class Credential {
/**
* Value Object für das Tupel aus name + pw
*/
private String name, password;
private int id;
@ -27,4 +23,9 @@ public class Credential {
{
this.password = newPassword;
}
public void updateUsername(String newUsername)
this.name = newUsername;
@ -62,6 +62,8 @@ public class CredentialRepository implements CredentialRepositoryInterface{
@Override
public void updatePassword(int index) {
public void updateUsername(int index){