去掉重复代码
This commit is contained in:
parent
fd5f0fe159
commit
1b9e1db351
@ -317,8 +317,6 @@ public class PushService implements ApplicationContextAware, ApplicationListener
|
|||||||
try {
|
try {
|
||||||
packet = new DatagramPacket(dataBytes, dataBytes.length, client.socketAddr);
|
packet = new DatagramPacket(dataBytes, dataBytes.length, client.socketAddr);
|
||||||
Receiver.AckEntry ackEntry = new Receiver.AckEntry(key, packet);
|
Receiver.AckEntry ackEntry = new Receiver.AckEntry(key, packet);
|
||||||
ackEntry.data = data;
|
|
||||||
|
|
||||||
// we must store the key be fore send, otherwise there will be a chance the
|
// we must store the key be fore send, otherwise there will be a chance the
|
||||||
// ack returns before we put in
|
// ack returns before we put in
|
||||||
ackEntry.data = data;
|
ackEntry.data = data;
|
||||||
|
Loading…
Reference in New Issue
Block a user