Compare commits

..

No commits in common. "4e2778d2c5f863fdffa9622c81e55d5f0a7b2038" and "032c3602a7ffd00dba2691d2a46d6a67c2206ea3" have entirely different histories.

View File

@ -53,7 +53,7 @@ public class GebietsListe {
public int getAnzahlUnvollstaendig(){
int zaehler = 0;
for (Gebiet g:gebiete) {
if (g.getGesamtEinkommen() <= 0 || g.getDurchschnittsEinkommen() <= 0) {
if (g.getJahr() <= 0 || g.getSchlüssel() <= 0 || g.getName() == null || g.getGesamtEinkommen() <= 0 || g.getDurchschnittsEinkommen() <= 0) {
zaehler++;
}
}