package devopsdistilled.operp.server.data.service.items.impl;

import java.util.ArrayList;
import java.util.List;

import javax.inject.Inject;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

import devopsdistilled.operp.server.data.entity.items.Brand;
import devopsdistilled.operp.server.data.repo.items.BrandRepository;
import devopsdistilled.operp.server.data.service.impl.AbstractServiceImpl;
import devopsdistilled.operp.server.data.service.items.BrandService;

@Service
public class BrandServiceImpl extends AbstractServiceImpl<Brand, Long>
		implements BrandService {

	private static final long serialVersionUID = -9026551460330247355L;

	@Inject
	private BrandRepository brandRepository;

	@Override
	protected JpaRepository<Brand, Long> getRepo() {
		return brandRepository;
	}

	@Override
	public List<Brand> findAll() {
		Brand one = new Brand();
		Brand two = new Brand();
		Brand three = new Brand();
		Brand four = new Brand();
		Brand five = new Brand();
		List<Brand> brands = new ArrayList<>();
		brands.add(one);
		brands.add(two);
		brands.add(three);
		brands.add(four);
		brands.add(five);

		return brands;

	}

}

@@ -60,60 +60,8 @@
 l;%0A%0A
-import java.util.ArrayList;%0Aimport java.util.List;%0A%0A
 impo
@@ -796,352 +796,6 @@
 %09%7D%0A%0A
-%09@Override%0A%09public List%3CBrand%3E findAll() %7B%0A%09%09Brand one = new Brand();%0A%09%09Brand two = new Brand();%0A%09%09Brand three = new Brand();%0A%09%09Brand four = new Brand();%0A%09%09Brand five = new Brand();%0A%09%09List%3CBrand%3E brands = new ArrayList%3C%3E();%0A%09%09brands.add(one);%0A%09%09brands.add(two);%0A%09%09brands.add(three);%0A%09%09brands.add(four);%0A%09%09brands.add(five);%0A%0A%09%09return brands;%0A%0A%09%7D%0A%0A
 %7D%0A

Remove BrandService.findAll() definition