Renamed some variables to match new class names.

This commit is contained in:
akwizgran
2014-01-08 16:37:36 +00:00
parent 832476412c
commit bacd8ec0c0
2 changed files with 7 additions and 7 deletions

View File

@@ -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,

View File

@@ -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 {