mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Remove some deprecated code
This commit is contained in:
parent
352c362e90
commit
2241dae16a
2 changed files with 1 additions and 55 deletions
|
@ -91,11 +91,9 @@ public class ServiceDiscoveryManager {
|
|||
* service manager will respond to any service discovery request that the connection may
|
||||
* receive.
|
||||
*
|
||||
* @deprecated use {@link #getInstanceFor(connection)} instead
|
||||
* @param connection the connection to which a ServiceDiscoveryManager is going to be created.
|
||||
*/
|
||||
@Deprecated
|
||||
public ServiceDiscoveryManager(Connection connection) {
|
||||
private ServiceDiscoveryManager(Connection connection) {
|
||||
this.connection = new WeakReference<Connection>(connection);
|
||||
|
||||
// Register the new instance and associate it with the connection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue