GebietsListe debugged
This commit is contained in:
1 parent
248eae539c
commit
1395a5ddc2
1 file changed
+1
-1
@@ -53,7 +53,7 @@ public class GebietsListe {
|
||||
public int getAnzahlUnvollstaendig(){
|
||||
int zaehler = 0;
|
||||
for (Gebiet g:gebiete) {
|
||||
if (g.getJahr() <= 0 || g.getSchlüssel() <= 0 || g.getName() == null || g.getGesamtEinkommen() <= 0 || g.getDurchschnittsEinkommen() <= 0) {
|
||||
if (g.getGesamtEinkommen() <= 0 || g.getDurchschnittsEinkommen() <= 0) {
|
||||
zaehler++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user