Skip to content

Commit

Permalink
去掉重复代码
Browse files Browse the repository at this point in the history
  • Loading branch information
jzdayz committed Feb 27, 2020
1 parent fd5f0fe commit 1b9e1db
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,6 @@ private static Receiver.AckEntry prepareAckEntry(PushClient client, byte[] dataB
try {
packet = new DatagramPacket(dataBytes, dataBytes.length, client.socketAddr);
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
// ack returns before we put in
ackEntry.data = data;
Expand Down

0 comments on commit 1b9e1db

Please sign in to comment.