BAEL-1645 fix 2
This commit is contained in:
parent
5d5b44c0a9
commit
56b2899171
@ -39,12 +39,7 @@ public class Car {
|
|||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
|
|
||||||
public void сhangeOilWithIsNull(String oil) {
|
public void replaceBattery(CarBattery carBattery) {
|
||||||
Assert.isNull(oil, "oil must be null");
|
|
||||||
// ...
|
|
||||||
}
|
|
||||||
|
|
||||||
public void replaceBattery(CarBattery carBattery){
|
|
||||||
Assert.isNull(carBattery.getCharge(), "to replace battery the charge must be null");
|
Assert.isNull(carBattery.getCharge(), "to replace battery the charge must be null");
|
||||||
// ...
|
// ...
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user