Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1684 → Rev 1685

/trunk/src/org/tela_botanica/client/modeles/structure/Structure.java
398,13 → 398,12
urls.set(type, url);
}
}
public int getNbrePersonne() {
 
public Integer getNbrePersonne() {
if (renvoyerValeurCorrecte("nbre_personne").equals("")) {
return 0;
} else {
return Integer.parseInt(renvoyerValeurCorrecte("nbre_personne"));
return null;
}
return Integer.parseInt(renvoyerValeurCorrecte("nbre_personne"));
}
public void setNbrePersonne(int nbrePersonne) {
this.set("nbre_personne", Integer.toString(nbrePersonne));
461,4 → 460,4
return sortie;
}
}
}