mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 12:19:54 +01:00
Simplify Database methods, move logic to DatabaseComponent.
This commit is contained in:
@@ -190,7 +190,7 @@ class PluginManagerImpl implements PluginManager {
|
||||
public TransportProperties getLocalProperties() {
|
||||
assert id != null;
|
||||
try {
|
||||
TransportProperties p = db.getLocalTransports().get(id);
|
||||
TransportProperties p = db.getLocalProperties(id);
|
||||
return p == null ? new TransportProperties() : p;
|
||||
} catch(DbException e) {
|
||||
if(LOG.isLoggable(Level.WARNING)) LOG.warning(e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user