Skip to content

Commit

Permalink
first commit (eugenp#11683)
Browse files Browse the repository at this point in the history
  • Loading branch information
achraftt authored Jan 16, 2022
1 parent 3ac64ce commit 55b23b9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ public synchronized String receive() {
}
}
transfer = true;


String returnPacket = packet;
notifyAll();
return packet;
return returnPacket;
}

public synchronized void send(String packet) {
Expand Down

0 comments on commit 55b23b9

Please sign in to comment.