1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52:06 +01:00

Remove empty statements

This commit is contained in:
Florian Schmaus 2014-11-09 11:02:49 +01:00
parent 77a4867450
commit a9c798f3bb
9 changed files with 8 additions and 15 deletions

View file

@ -608,7 +608,7 @@ public abstract class AbstractXMPPConnection implements XMPPConnection {
sendPacket(unavailablePresence);
shutdown();
callConnectionClosedListener();
};
}
/**
* Shuts the current connection down.

View file

@ -39,5 +39,5 @@ public abstract class Provider<E extends Element> {
return e;
}
public abstract E parse(XmlPullParser parser, int initialDepth) throws XmlPullParserException, IOException, SmackException;;
public abstract E parse(XmlPullParser parser, int initialDepth) throws XmlPullParserException, IOException, SmackException;
}

View file

@ -441,5 +441,5 @@ public class ChatConnectionTest {
public int getNumMessages() {
return counter;
}
};
}
}

View file

@ -104,6 +104,6 @@ public class ThreadedDummyConnection extends DummyConnection {
e.printStackTrace();
}
}
};
}
}

View file

@ -61,7 +61,7 @@ public class OfflineMessageManager {
private final XMPPConnection connection;
private static final PacketFilter PACKET_FILTER = new AndFilter(new PacketExtensionFilter(
new OfflineMessageInfo()), new PacketTypeFilter(Message.class));;
new OfflineMessageInfo()), new PacketTypeFilter(Message.class));
public OfflineMessageManager(XMPPConnection connection) {
this.connection = connection;

View file

@ -140,8 +140,7 @@ public class PEPManager {
PEPEvent event = (PEPEvent) message.getExtension("event", "http://jabber.org/protocol/pubsub#event");
// Fire event for roster exchange listeners
firePEPListeners(message.getFrom(), event);
};
}
};
connection.addPacketListener(packetListener, packetFilter);
}
@ -149,7 +148,6 @@ public class PEPManager {
public void destroy() {
if (connection != null)
connection.removePacketListener(packetListener);
}
protected void finalize() throws Throwable {

View file

@ -46,8 +46,6 @@ public abstract class TransportResolver {
rawupd, ice
}
;
public Type getType() {
return type;
}

View file

@ -95,9 +95,7 @@ public class MessageEventManager extends Manager {
message.getFrom(),
messageEvent.getPacketID(),
eventType.concat("Notification"));
};
}
}, PACKET_FILTER);
INSTANCES.put(connection, this);
}

View file

@ -83,8 +83,7 @@ public class RosterExchangeManager {
(RosterExchange) message.getExtension(ELEMENT, NAMESPACE);
// Fire event for roster exchange listeners
fireRosterExchangeListeners(message.getFrom(), rosterExchange.getRosterEntries());
};
}
};
connection.addPacketListener(packetListener, PACKET_FILTER);
}