Minor improvements

This commit is contained in:
Christian Basler 2016-01-17 07:11:39 +01:00
parent b4c5d8cc21
commit 6ec25cfae7
2 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,6 @@ import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Objects;
import ch.dissem.apps.abit.listener.ActionBarListener;
import ch.dissem.apps.abit.listener.ListSelectionListener;

View File

@ -96,6 +96,7 @@ public class AndroidInventory implements Inventory {
@Override
public List<InventoryVector> getMissing(List<InventoryVector> offer, long... streams) {
offer.removeAll(getInventory(true, streams));
LOG.info(offer.size() + " objects missing.");
return offer;
}