private final PropertiesDao propertiesDao;
public QualityGates(QualityGateDao dao, QualityGateConditionDao conditionDao, PropertiesDao propertiesDao) {
</BUG>
this.dao = dao;
<BUG>this.conditionDao = conditionDao;
this.propertiesDao = propertiesDao;</BUG>
}
public QualityGateDto create(String name) {
checkPermission(UserSession.get());
validateQualityGate(null, name);

private final PropertiesDao propertiesDao;
public QualityGates(QualityGateDao dao, QualityGateConditionDao conditionDao, MetricFinder metricFinder, PropertiesDao propertiesDao) {
this.dao = dao;
this.conditionDao = conditionDao;
this.metricFinder = metricFinder;
this.propertiesDao = propertiesDao;
}
public QualityGateDto create(String name) {
checkPermission(UserSession.get());
validateQualityGate(null, name);
