Merge branch '723-unit-tests-for-contactmanagerimpl' into 'master'

Add Unit tests for ContactManager

Closes #723

See merge request !376
This commit is contained in:
akwizgran
2016-11-01 11:50:47 +00:00
2 changed files with 137 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ class ContactManagerImpl implements ContactManager, RemoveIdentityHook {
}
List<Contact> active = new ArrayList<Contact>(contacts.size());
for (Contact c : contacts) if (c.isActive()) active.add(c);
return Collections.unmodifiableList(active);
return active;
}
@Override