mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Made TransportConfig and TransportProperties thread-safe.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package net.sf.briar.api;
|
||||
|
||||
import java.util.Hashtable;
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
|
||||
public class TransportConfig extends TreeMap<String, String> {
|
||||
public class TransportConfig extends Hashtable<String, String> {
|
||||
|
||||
private static final long serialVersionUID = 2330384620787778596L;
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package net.sf.briar.api;
|
||||
|
||||
import java.util.Hashtable;
|
||||
import java.util.Map;
|
||||
import java.util.TreeMap;
|
||||
|
||||
public class TransportProperties extends TreeMap<String, String> {
|
||||
public class TransportProperties extends Hashtable<String, String> {
|
||||
|
||||
private static final long serialVersionUID = 7533739534204953625L;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user