Commit 658c63d9 authored by akwizgran's avatar akwizgran

Rename an argument for clarity.

parent ee05c328
......@@ -274,7 +274,7 @@ public interface DatabaseComponent {
* <p/>
* Read-only.
*/
Collection<ContactId> getContacts(Transaction txn, AuthorId a)
Collection<ContactId> getContacts(Transaction txn, AuthorId local)
throws DbException;
/**
......
......@@ -273,7 +273,7 @@ interface Database<T> {
* <p/>
* Read-only.
*/
Collection<ContactId> getContacts(T txn, AuthorId a) throws DbException;
Collection<ContactId> getContacts(T txn, AuthorId local) throws DbException;
/**
* Returns the group with the given ID.
......
......@@ -503,11 +503,11 @@ class DatabaseComponentImpl<T> implements DatabaseComponent {
@Override
public Collection<ContactId> getContacts(Transaction transaction,
AuthorId a) throws DbException {
AuthorId local) throws DbException {
T txn = unbox(transaction);
if (!db.containsIdentity(txn, a))
if (!db.containsIdentity(txn, local))
throw new NoSuchIdentityException();
return db.getContacts(txn, a);
return db.getContacts(txn, local);
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment