diff --git a/src/main/java/domain/User.java b/src/main/java/domain/User.java index 78fd6cc..850a23d 100644 --- a/src/main/java/domain/User.java +++ b/src/main/java/domain/User.java @@ -12,8 +12,4 @@ public class User { this.city = city; this.username = username; } - - - - } diff --git a/src/main/java/domain/Vehicle.java b/src/main/java/domain/Vehicle.java index a4bdc43..fc26745 100644 --- a/src/main/java/domain/Vehicle.java +++ b/src/main/java/domain/Vehicle.java @@ -7,10 +7,10 @@ public class Vehicle { public int averageKmPerH; public int maxShortTripDistance; - public Vehicle(String name) { + public Vehicle(String name,int averageKmPerH) { this.typ = "bike"; this.name = name; - this.averageKmPerH = 22; + this.averageKmPerH = averageKmPerH; this.co2perKm = 0; this.maxShortTripDistance = 100; } diff --git a/src/main/java/fassade/Fassade.java b/src/main/java/fassade/Fassade.java deleted file mode 100644 index 7fd52c7..0000000 --- a/src/main/java/fassade/Fassade.java +++ /dev/null @@ -1,4 +0,0 @@ -package fassade; - -public class Fassade { -} diff --git a/src/main/java/fassade/TravelBuddyApi.java b/src/main/java/fassade/TravelBuddyApi.java new file mode 100644 index 0000000..c3c7ba5 --- /dev/null +++ b/src/main/java/fassade/TravelBuddyApi.java @@ -0,0 +1,6 @@ +package fassade; + + +public class TravelBuddyApi { + +}