@@ -0,0 +1,681 @@
+package ru.revdaalex.lsp.chapterII.storage;%0A%0Aimport ru.revdaalex.lsp.chapterI.food.Food;%0Aimport ru.revdaalex.lsp.chapterI.interfaces.Storage;%0Aimport ru.revdaalex.lsp.chapterI.storage.Warehouse;%0A%0Aimport java.util.ArrayList;%0A%0A/**%0A * NewWarehouse class.%0A * Created by revdaalex on 10.08.2016.%0A */%0Apublic class NewWarehouse extends Warehouse implements Storage %7B%0A%0A    private final ArrayList%3CFood%3E newWarehouse = new ArrayList%3C%3E();%0A%0A%0A    public void add(Food food) %7B%0A        this.newWarehouse.add(food);%0A    %7D%0A%0A%0A    public boolean sortQuality(Food food) %7B%0A        return super.sortQuality(food);%0A    %7D%0A%0A%0A    public ArrayList%3CFood%3E getFood() %7B%0A        return this.newWarehouse;%0A    %7D%0A%7D%0A

add NewWarehouse.java