mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-29 15:32:06 +01:00
Remove deprecated methods scheduled for removal in Smack 4.4
This commit is contained in:
parent
8df69bd3ce
commit
85f7e1d39c
2 changed files with 0 additions and 35 deletions
|
@ -122,19 +122,6 @@ public abstract class XMPPException extends Exception {
|
||||||
this.request = request;
|
this.request = request;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the XMPPError associated with this exception, or <tt>null</tt> if there isn't
|
|
||||||
* one.
|
|
||||||
*
|
|
||||||
* @return the XMPPError associated with this exception.
|
|
||||||
* @deprecated use {@link #getStanzaError()} instead.
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
// TODO Remove in Smack 4.4.
|
|
||||||
public StanzaError getXMPPError() {
|
|
||||||
return error;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the stanza error extension element associated with this exception.
|
* Returns the stanza error extension element associated with this exception.
|
||||||
*
|
*
|
||||||
|
|
|
@ -383,28 +383,6 @@ public final class MultiUserChatManager extends Manager {
|
||||||
MUCInitialPresence.NAMESPACE);
|
MUCInitialPresence.NAMESPACE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a List of HostedRooms where each HostedRoom has the XMPP address of the room and the room's name.
|
|
||||||
* Once discovered the rooms hosted by a chat service it is possible to discover more detailed room information or
|
|
||||||
* join the room.
|
|
||||||
*
|
|
||||||
* @param serviceName the service that is hosting the rooms to discover.
|
|
||||||
* @return a collection of HostedRooms.
|
|
||||||
* @throws XMPPErrorException
|
|
||||||
* @throws NoResponseException
|
|
||||||
* @throws NotConnectedException
|
|
||||||
* @throws InterruptedException
|
|
||||||
* @throws NotAMucServiceException
|
|
||||||
* @deprecated use {@link #getRoomsHostedBy(DomainBareJid)} instead.
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
// TODO: Remove in Smack 4.4.
|
|
||||||
public List<HostedRoom> getHostedRooms(DomainBareJid serviceName) throws NoResponseException, XMPPErrorException,
|
|
||||||
NotConnectedException, InterruptedException, NotAMucServiceException {
|
|
||||||
Map<EntityBareJid, HostedRoom> hostedRooms = getRoomsHostedBy(serviceName);
|
|
||||||
return new ArrayList<>(hostedRooms.values());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a Map of HostedRooms where each HostedRoom has the XMPP address of the room and the room's name.
|
* Returns a Map of HostedRooms where each HostedRoom has the XMPP address of the room and the room's name.
|
||||||
* Once discovered the rooms hosted by a chat service it is possible to discover more detailed room information or
|
* Once discovered the rooms hosted by a chat service it is possible to discover more detailed room information or
|
||||||
|
|
Loading…
Reference in a new issue