Skip to content

Commit f173003

Browse files
committed
remove method
1 parent 4ba6d62 commit f173003

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

Rental.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ public void addAllVehicles(Vehicle... vehicles) {
2020
}
2121
}
2222

23-
public void transformAllTrucks() {
24-
for (Vehicle c : vehicles) {
25-
if (c instanceof Truck) {
26-
Truck t = (Truck) c;
27-
t.transform();
28-
}
29-
}
30-
}
31-
3223
public void print() {
3324
System.out.println(name);
3425
System.out.println("Unsere Fahrzeuge: ");

0 commit comments

Comments
 (0)