Skip to content

Commit 56b2899

Browse files
committed
BAEL-1645 fix 2
1 parent 5d5b44c commit 56b2899

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

  • spring-5/src/main/java/com/baeldung/assertions

‎spring-5/src/main/java/com/baeldung/assertions/Car.java‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,7 @@ public void fuelwithSupplier() {
3939
// ...
4040
}
4141

42-
public void сhangeOilWithIsNull(String oil) {
43-
Assert.isNull(oil, "oil must be null");
44-
// ...
45-
}
46-
47-
public void replaceBattery(CarBattery carBattery){
42+
public void replaceBattery(CarBattery carBattery) {
4843
Assert.isNull(carBattery.getCharge(), "to replace battery the charge must be null");
4944
// ...
5045
}

0 commit comments

Comments
 (0)