- validação npe
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@25434 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
cb730a99b6
commit
f00414f96c
|
@ -360,9 +360,11 @@ public class Pricing implements Serializable {
|
|||
|
||||
public List<PricingVigencia> getPricingVigenciaList() {
|
||||
List<PricingVigencia> pvList = new ArrayList<PricingVigencia>();
|
||||
for (PricingVigencia pv : this.pricingVigenciaList) {
|
||||
if (pv.getActivo() == Boolean.TRUE) {
|
||||
pvList.add(pv);
|
||||
if (this.pricingVigenciaList != null){
|
||||
for (PricingVigencia pv : this.pricingVigenciaList) {
|
||||
if (pv.getActivo() == Boolean.TRUE) {
|
||||
pvList.add(pv);
|
||||
}
|
||||
}
|
||||
}
|
||||
return pvList;
|
||||
|
|
Loading…
Reference in New Issue