mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-19 02:22:05 +01:00
ServiceDiscoveryManager: Use 'Set' as data structure for features to prevent reporting duplicate features
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13465 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
7723b9fcfd
commit
1a170c1561
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ public class ServiceDiscoveryManager {
|
|||
new ConcurrentHashMap<Connection, ServiceDiscoveryManager>();
|
||||
|
||||
private Connection connection;
|
||||
private final List<String> features = new ArrayList<String>();
|
||||
private final Set<String> features = new HashSet<String>();
|
||||
private DataForm extendedInfo = null;
|
||||
private Map<String, NodeInformationProvider> nodeInformationProviders =
|
||||
new ConcurrentHashMap<String, NodeInformationProvider>();
|
||||
|
|
Loading…
Reference in a new issue