Skip to content

Commit

Permalink
Update src/main/java/emissary/pickup/PickupQueue.java
Browse files Browse the repository at this point in the history
Co-authored-by: jpdahlke <jpdahlke@users.noreply.github.com>
  • Loading branch information
nixon124 and jpdahlke committed Apr 22, 2024
1 parent 43c4f3c commit e9ca0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/emissary/pickup/PickupQueue.java
Expand Up @@ -96,7 +96,7 @@ public synchronized WorkBundle deque() {
synchronized (queue) {
size = queue.size();
if (size > 0) {
nextFile = queue.remove(queue.size() - 1);
nextFile = queue.remove(size - 1);
}
}
return nextFile;
Expand Down

0 comments on commit e9ca0eb

Please sign in to comment.