1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-14 15:01:07 +01:00

Remove ServiceDiscoveryManager.getFeaturesList()

The method was redundant, getFeatures() did already return a copy of the
features. There is also no need to make it an unmodifiable List.
This commit is contained in:
Florian Schmaus 2014-11-01 13:16:22 +01:00
parent ed313c9629
commit fadef7d1bf
2 changed files with 5 additions and 13 deletions

View file

@ -478,7 +478,7 @@ public class EntityCapsManager extends Manager {
final List<Identity> identities = new LinkedList<Identity>(ServiceDiscoveryManager.getInstanceFor(connection).getIdentities());
sdm.setNodeInformationProvider(entityNode + '#' + currentCapsVersion, new AbstractNodeInformationProvider() {
List<String> features = sdm.getFeaturesList();
List<String> features = sdm.getFeatures();
List<PacketExtension> packetExtensions = sdm.getExtendedInfoAsList();
@Override
public List<String> getNodeFeatures() {