mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 13:49:53 +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,
|
public SubscriptionUpdate createSubscriptions(Map<Group, Long> subs,
|
||||||
long timestamp) {
|
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.Group;
|
||||||
import net.sf.briar.api.protocol.SubscriptionUpdate;
|
import net.sf.briar.api.protocol.SubscriptionUpdate;
|
||||||
|
|
||||||
class SubscriptionsImpl implements SubscriptionUpdate {
|
class SubscriptionUpdateImpl implements SubscriptionUpdate {
|
||||||
|
|
||||||
private final Map<Group, Long> subs;
|
private final Map<Group, Long> subs;
|
||||||
private final long timestamp;
|
private final long timestamp;
|
||||||
|
|
||||||
SubscriptionsImpl(Map<Group, Long> subs, long timestamp) {
|
SubscriptionUpdateImpl(Map<Group, Long> subs, long timestamp) {
|
||||||
this.subs = subs;
|
this.subs = subs;
|
||||||
this.timestamp = timestamp;
|
this.timestamp = timestamp;
|
||||||
}
|
}
|
||||||
@@ -8,6 +8,6 @@ class TransportFactoryImpl implements TransportFactory {
|
|||||||
|
|
||||||
public TransportUpdate createTransports(Map<String, Map<String, String>> transports,
|
public TransportUpdate createTransports(Map<String, Map<String, String>> transports,
|
||||||
long timestamp) {
|
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;
|
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 Map<String, Map<String, String>> transports;
|
||||||
private final long timestamp;
|
private final long timestamp;
|
||||||
|
|
||||||
TransportsImpl(Map<String, Map<String, String>> transports,
|
TransportUpdateImpl(Map<String, Map<String, String>> transports,
|
||||||
long timestamp) {
|
long timestamp) {
|
||||||
this.transports = transports;
|
this.transports = transports;
|
||||||
this.timestamp = timestamp;
|
this.timestamp = timestamp;
|
||||||
Reference in New Issue
Block a user