Subversion Repositories SmartDukaan

Rev

Rev 33087 | Rev 33121 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33087 Rev 33119
Line 120... Line 120...
120
        List<BrandStockPrice> brandStockPrices = new ArrayList<>();
120
        List<BrandStockPrice> brandStockPrices = new ArrayList<>();
121
        List<BrandCatalog> mobileBrands = brandsService.getBrands(fofoId, null, 3);
121
        List<BrandCatalog> mobileBrands = brandsService.getBrands(fofoId, null, 3);
122
        mobileBrands.stream().forEach(x -> {
122
        mobileBrands.stream().forEach(x -> {
123
            if (brandStockPricesMap.containsKey(x.getName())) {
123
            if (brandStockPricesMap.containsKey(x.getName())) {
124
                BrandStockPrice brandStockPrice = brandStockPricesMap.get(x.getName());
124
                BrandStockPrice brandStockPrice = brandStockPricesMap.get(x.getName());
125
                brandStockPrice.setBrandUrl((String) x.getLogoUrl());
125
                brandStockPrice.setBrandUrl(x.getLogoUrl());
126
                brandStockPrice.setRank(x.getBrandCategory().getRank());
126
                brandStockPrice.setRank(x.getBrandCategory().getRank());
127
                brandStockPrices.add(brandStockPrice);
127
                brandStockPrices.add(brandStockPrice);
128
            }
128
            }
129
        });
129
        });
130
 
130