mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-27 00:32:07 +01:00
Cleanup of deprecated methods (SMACK-432)
This commit is contained in:
parent
bd6828db38
commit
d8a8f79701
6 changed files with 0 additions and 16 deletions
|
@ -167,17 +167,6 @@ public class XMPPException extends Exception {
|
||||||
return streamError;
|
return streamError;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the Throwable asscociated with this exception, or <tt>null</tt> if there
|
|
||||||
* isn't one. @deprecated, use Exception.getCause() instead.
|
|
||||||
*
|
|
||||||
* @return the Throwable asscociated with this exception.
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public Throwable getWrappedThrowable() {
|
|
||||||
return getCause();
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getMessage() {
|
public String getMessage() {
|
||||||
String msg = super.getMessage();
|
String msg = super.getMessage();
|
||||||
// If the message was not set, but there is an XMPPError, return the
|
// If the message was not set, but there is an XMPPError, return the
|
||||||
|
|
|
@ -26,7 +26,6 @@ import org.jivesoftware.smackx.pep.packet.PEPEvent;
|
||||||
*
|
*
|
||||||
* @author Jeff Williams
|
* @author Jeff Williams
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public interface PEPListener {
|
public interface PEPListener {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -57,7 +57,6 @@ import org.jivesoftware.smackx.pep.packet.PEPPubSub;
|
||||||
*
|
*
|
||||||
* @author Jeff Williams
|
* @author Jeff Williams
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public class PEPManager {
|
public class PEPManager {
|
||||||
|
|
||||||
private List<PEPListener> pepListeners = new ArrayList<PEPListener>();
|
private List<PEPListener> pepListeners = new ArrayList<PEPListener>();
|
||||||
|
|
|
@ -27,7 +27,6 @@ import org.jivesoftware.smack.packet.PacketExtension;
|
||||||
*
|
*
|
||||||
* @author Jeff Williams
|
* @author Jeff Williams
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public class PEPEvent implements PacketExtension {
|
public class PEPEvent implements PacketExtension {
|
||||||
|
|
||||||
PEPItem item;
|
PEPItem item;
|
||||||
|
|
|
@ -27,7 +27,6 @@ import org.jivesoftware.smack.packet.PacketExtension;
|
||||||
*
|
*
|
||||||
* @author Jeff Williams
|
* @author Jeff Williams
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public abstract class PEPItem implements PacketExtension {
|
public abstract class PEPItem implements PacketExtension {
|
||||||
|
|
||||||
String id;
|
String id;
|
||||||
|
|
|
@ -27,7 +27,6 @@ import org.jivesoftware.smack.packet.IQ;
|
||||||
*
|
*
|
||||||
* @author Jeff Williams
|
* @author Jeff Williams
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public class PEPPubSub extends IQ {
|
public class PEPPubSub extends IQ {
|
||||||
|
|
||||||
PEPItem item;
|
PEPItem item;
|
||||||
|
|
Loading…
Reference in a new issue