import static com.epam.ta.reportportal.commons.validation.Suppliers.formattedSupplier;
import static com.epam.ta.reportportal.ws.model.ErrorType.*;
import static java.util.Optional.ofNullable;
import java.util.ArrayList;
import java.util.Iterator;
<BUG>import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;</BUG>
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.stereotype.Service;
import com.epam.ta.reportportal.core.acl.AclUtils;

import static com.epam.ta.reportportal.commons.validation.Suppliers.formattedSupplier;
import static com.epam.ta.reportportal.ws.model.ErrorType.*;
import static java.util.Optional.ofNullable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import com.epam.ta.reportportal.database.dao.ProjectRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.stereotype.Service;
import com.epam.ta.reportportal.core.acl.AclUtils;
