ItEr60S04ValidacionEProbasFuncionaisItEr59S04: Remove static modifier.

That kind of sharing between different model instances is unsafe.
This commit is contained in:
Óscar González Fernández 2010-08-06 13:26:23 +02:00
parent a0a100bf74
commit a1cc79d6d4

View file

@ -109,7 +109,7 @@ public class OrderModel implements IOrderModel {
@Autowired
private IExternalCompanyDAO externalCompanyDAO;
private static final Map<CriterionType, List<Criterion>> mapCriterions = new HashMap<CriterionType, List<Criterion>>();
private final Map<CriterionType, List<Criterion>> mapCriterions = new HashMap<CriterionType, List<Criterion>>();
private List<ExternalCompany> externalCompanies = new ArrayList<ExternalCompany>();