getGesamtEinkommen geändert
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* abgeleitete Eigenschaft und wird dementsprechend in der Methode 'getAnzahlEinwohner'
|
||||
* berechnet.
|
||||
*
|
||||
* @author Gubitz, Wöstemeyer, Pfannenstiel, Maier, Vigier :D
|
||||
* @author Vigier
|
||||
*/
|
||||
public class Gebiet implements GebietInterface {
|
||||
private int jahr;
|
||||
@@ -40,7 +40,7 @@ public class Gebiet implements GebietInterface {
|
||||
|
||||
@Override
|
||||
public long getGesamtEinkommen() {
|
||||
if(getGesamtEinkommen() == 0){
|
||||
if(gesamtEinkommen == 0){
|
||||
return -1;
|
||||
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
public class GebietsMoc implements GebietInterface{
|
||||
public class GebietMock implements GebietInterface{
|
||||
|
||||
@Override
|
||||
public int getjahr() {
|
Reference in New Issue
Block a user