1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-29 15:32:06 +01:00

Move cast in extra line in ADD_ORIGIN_ID_INTERCEPTOR

This commit is contained in:
Florian Schmaus 2019-02-23 23:40:27 +01:00
parent 4da4558b29
commit 5a2109e73f

View file

@ -49,7 +49,8 @@ public final class StableUniqueStanzaIdManager extends Manager {
private static final StanzaListener ADD_ORIGIN_ID_INTERCEPTOR = new StanzaListener() { private static final StanzaListener ADD_ORIGIN_ID_INTERCEPTOR = new StanzaListener() {
@Override @Override
public void processStanza(Stanza stanza) { public void processStanza(Stanza stanza) {
OriginIdElement.addOriginId((Message) stanza); Message message = (Message) stanza;
OriginIdElement.addOriginId(message);
} }
}; };