diff --git a/src/main/java/core/basesyntax/Bulldozer.java b/src/main/java/core/basesyntax/Bulldozer.java index d0b31c643..d1865a198 100644 --- a/src/main/java/core/basesyntax/Bulldozer.java +++ b/src/main/java/core/basesyntax/Bulldozer.java @@ -1,14 +1,14 @@ package core.basesyntax; -public class Bulldozer extends Machine{ +public class Bulldozer extends Machine { @Override - public void doWork(){ + public void doWork() { System.out.println("Bulldozer: start of work"); } @Override - public void stopWork(){ + public void stopWork() { System.out.println("Bulldozer: stop of work"); } diff --git a/src/main/java/core/basesyntax/Excavator.java b/src/main/java/core/basesyntax/Excavator.java index 6cf375bfa..7d7c2eb90 100644 --- a/src/main/java/core/basesyntax/Excavator.java +++ b/src/main/java/core/basesyntax/Excavator.java @@ -1,14 +1,14 @@ package core.basesyntax; -public class Excavator extends Machine{ +public class Excavator extends Machine { @Override - public void doWork(){ + public void doWork() { System.out.println("Excavator: start of work"); } @Override - public void stopWork(){ + public void stopWork() { System.out.println("Excavator: stop of work"); } diff --git a/src/main/java/core/basesyntax/Truck.java b/src/main/java/core/basesyntax/Truck.java index 2ac5d7615..4c5d43f97 100644 --- a/src/main/java/core/basesyntax/Truck.java +++ b/src/main/java/core/basesyntax/Truck.java @@ -1,14 +1,14 @@ package core.basesyntax; -public class Truck extends Machine{ +public class Truck extends Machine { @Override - public void doWork(){ + public void doWork() { System.out.println("Truck: start of work"); } @Override - public void stopWork(){ + public void stopWork() { System.out.println("Truck: stop of work"); }