powered by Jive Software

DiscoverInfo getFeatures

Really simple question: why is DiscoverInfo.getFeatures default visibility? Why not public?

Hey bentatham,

The use case I usually have to deal is checking if a given feature is supported by the server. So instead of making #getFeatures() we decided to use #containsFeature(String) to check if a given feature is supported. Anyway, we are open to make API modifications if other valid use cases are presented. So if you have a case where you need to get all discovered features just let me know and we can review this decision.


– Gato