BAEL-1645 fix 2

This commit is contained in:
Ekaterina Galkina 2018-04-16 12:49:41 +05:00
parent 5d5b44c0a9
commit 56b2899171
1 changed files with 1 additions and 6 deletions

View File

@ -39,11 +39,6 @@ public class Car {
// ...
}
public void сhangeOilWithIsNull(String oil) {
Assert.isNull(oil, "oil must be null");
// ...
}
public void replaceBattery(CarBattery carBattery) {
Assert.isNull(carBattery.getCharge(), "to replace battery the charge must be null");
// ...