mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Renamed a couple of classes.
This commit is contained in:
@@ -9,6 +9,6 @@ class SubscriptionFactoryImpl implements SubscriptionFactory {
|
||||
|
||||
public SubscriptionUpdate createSubscriptions(Map<Group, Long> subs,
|
||||
long timestamp) {
|
||||
return new SubscriptionsImpl(subs, timestamp);
|
||||
return new SubscriptionUpdateImpl(subs, timestamp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,12 @@ import java.util.Map;
|
||||
import net.sf.briar.api.protocol.Group;
|
||||
import net.sf.briar.api.protocol.SubscriptionUpdate;
|
||||
|
||||
class SubscriptionsImpl implements SubscriptionUpdate {
|
||||
class SubscriptionUpdateImpl implements SubscriptionUpdate {
|
||||
|
||||
private final Map<Group, Long> subs;
|
||||
private final long timestamp;
|
||||
|
||||
SubscriptionsImpl(Map<Group, Long> subs, long timestamp) {
|
||||
SubscriptionUpdateImpl(Map<Group, Long> subs, long timestamp) {
|
||||
this.subs = subs;
|
||||
this.timestamp = timestamp;
|
||||
}
|
||||
@@ -8,6 +8,6 @@ class TransportFactoryImpl implements TransportFactory {
|
||||
|
||||
public TransportUpdate createTransports(Map<String, Map<String, String>> transports,
|
||||
long timestamp) {
|
||||
return new TransportsImpl(transports, timestamp);
|
||||
return new TransportUpdateImpl(transports, timestamp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,12 +4,12 @@ import java.util.Map;
|
||||
|
||||
import net.sf.briar.api.protocol.TransportUpdate;
|
||||
|
||||
class TransportsImpl implements TransportUpdate {
|
||||
class TransportUpdateImpl implements TransportUpdate {
|
||||
|
||||
private final Map<String, Map<String, String>> transports;
|
||||
private final long timestamp;
|
||||
|
||||
TransportsImpl(Map<String, Map<String, String>> transports,
|
||||
TransportUpdateImpl(Map<String, Map<String, String>> transports,
|
||||
long timestamp) {
|
||||
this.transports = transports;
|
||||
this.timestamp = timestamp;
|
||||
Reference in New Issue
Block a user