mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Renamed some variables to match new class names.
This commit is contained in:
@@ -43,10 +43,10 @@ public interface DatabaseComponent {
|
||||
void close() throws DbException, IOException;
|
||||
|
||||
/** Adds a listener to be notified when database events occur. */
|
||||
void addListener(EventListener d);
|
||||
void addListener(EventListener l);
|
||||
|
||||
/** Removes a listener. */
|
||||
void removeListener(EventListener d);
|
||||
void removeListener(EventListener l);
|
||||
|
||||
/**
|
||||
* Stores a contact associated with the given local and remote pseudonyms,
|
||||
|
||||
@@ -174,12 +174,12 @@ DatabaseCleaner.Callback {
|
||||
}
|
||||
}
|
||||
|
||||
public void addListener(EventListener d) {
|
||||
listeners.add(d);
|
||||
public void addListener(EventListener l) {
|
||||
listeners.add(l);
|
||||
}
|
||||
|
||||
public void removeListener(EventListener d) {
|
||||
listeners.remove(d);
|
||||
public void removeListener(EventListener l) {
|
||||
listeners.remove(l);
|
||||
}
|
||||
|
||||
public ContactId addContact(Author remote, AuthorId local)
|
||||
@@ -238,7 +238,7 @@ DatabaseCleaner.Callback {
|
||||
|
||||
/** Notifies all listeners of a database event. */
|
||||
private void callListeners(Event e) {
|
||||
for(EventListener d : listeners) d.eventOccurred(e);
|
||||
for(EventListener l : listeners) l.eventOccurred(e);
|
||||
}
|
||||
|
||||
public void addEndpoint(Endpoint ep) throws DbException {
|
||||
|
||||
Reference in New Issue
Block a user