|
@ -89,23 +89,6 @@ public class CredentialRepository implements CredentialRepositoryInterface{ |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/* |
|
|
|
|
|
this function will be required in the future for catching the left-shift in the arrayList |
|
|
|
|
|
after one entry was deleted. welp, maybe it won't. can't tell and i've no time atm to |
|
|
|
|
|
finish this |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private int mapIndexToListCounter(int needle) { |
|
|
|
|
|
for(int c = 0; c<this.credentials.size(); c++) |
|
|
|
|
|
{ |
|
|
|
|
|
if(this.credentials.get(c).getId() == needle) |
|
|
|
|
|
{ |
|
|
|
|
|
return c; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
return -1; |
|
|
|
|
|
} |
|
|
|
|
|
*/ |
|
|
|
|
|
private int getListSize() |
|
|
private int getListSize() |
|
|
{ |
|
|
{ |
|
|
return this.credentials.size(); |
|
|
return this.credentials.size(); |
|
|