Skip to content

Commit

Permalink
FixStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
acidcor committed Dec 12, 2024
1 parent f2b5ea8 commit 1228455
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/core/basesyntax/Bulldozer.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package core.basesyntax;

public class Bulldozer extends Machine{
public class Bulldozer extends Machine {
@Override
public void doWork() {
System.out.println("Bulldozer do work");
Expand Down
1 change: 1 addition & 0 deletions src/main/java/core/basesyntax/Machine.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

public abstract class Machine {
public abstract void doWork();

public abstract void stopWork();
}
2 changes: 1 addition & 1 deletion src/main/java/core/basesyntax/Truck.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package core.basesyntax;

public class Truck extends Machine{
public class Truck extends Machine {
@Override
public void doWork() {
System.out.println("Truck do work");
Expand Down

0 comments on commit 1228455

Please sign in to comment.