1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-01 16:32:08 +01:00

Cleanup of deprecated methods (SMACK-432)

This commit is contained in:
Florian Schmaus 2014-03-11 18:34:51 +01:00
parent bd6828db38
commit d8a8f79701
6 changed files with 0 additions and 16 deletions

View file

@ -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

View file

@ -26,7 +26,6 @@ import org.jivesoftware.smackx.pep.packet.PEPEvent;
* *
* @author Jeff Williams * @author Jeff Williams
*/ */
@Deprecated
public interface PEPListener { public interface PEPListener {
/** /**

View file

@ -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>();

View file

@ -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;

View file

@ -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;

View file

@ -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;