Removed obsolete ID calculation
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
596c9677f2
commit
1854f25387
|
@ -13,10 +13,8 @@ public abstract class Immobilie {
|
|||
private String hausnummer;
|
||||
private int flaeche;
|
||||
private Makler verwalter;
|
||||
private static int currentId = 0;
|
||||
|
||||
public Immobilie() {
|
||||
this.id = currentId++;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
|
|
Loading…
Reference in New Issue