mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 06:09:55 +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;
|
void close() throws DbException, IOException;
|
||||||
|
|
||||||
/** Adds a listener to be notified when database events occur. */
|
/** Adds a listener to be notified when database events occur. */
|
||||||
void addListener(EventListener d);
|
void addListener(EventListener l);
|
||||||
|
|
||||||
/** Removes a listener. */
|
/** Removes a listener. */
|
||||||
void removeListener(EventListener d);
|
void removeListener(EventListener l);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores a contact associated with the given local and remote pseudonyms,
|
* Stores a contact associated with the given local and remote pseudonyms,
|
||||||
|
|||||||
@@ -174,12 +174,12 @@ DatabaseCleaner.Callback {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addListener(EventListener d) {
|
public void addListener(EventListener l) {
|
||||||
listeners.add(d);
|
listeners.add(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void removeListener(EventListener d) {
|
public void removeListener(EventListener l) {
|
||||||
listeners.remove(d);
|
listeners.remove(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ContactId addContact(Author remote, AuthorId local)
|
public ContactId addContact(Author remote, AuthorId local)
|
||||||
@@ -238,7 +238,7 @@ DatabaseCleaner.Callback {
|
|||||||
|
|
||||||
/** Notifies all listeners of a database event. */
|
/** Notifies all listeners of a database event. */
|
||||||
private void callListeners(Event e) {
|
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 {
|
public void addEndpoint(Endpoint ep) throws DbException {
|
||||||
|
|||||||
Reference in New Issue
Block a user