Browse Source

Removes unused code

feature-serializer
fdai5728 3 years ago
parent
commit
6fc18633da
  1. 17
      src/main/java/CredentialRepository.java

17
src/main/java/CredentialRepository.java

@ -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();

Loading…
Cancel
Save