Skip to content

Commit

Permalink
Fixed import errors in Java code
Browse files Browse the repository at this point in the history
  • Loading branch information
akhtyamovpavel committed Mar 21, 2023
1 parent f7166fe commit 9165d5b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ public void moveRight(float angle) {

@Override
public void moveUp(float height) {
this.angle -= height;
if (this.angle < 0) {
this.angle = 0;
}
this.angle += height;
}

@Override
public void moveDown(float height) {
this.angle += angle;
this.angle -= angle;
if (this.angle < 0) {
this.angle = 0;
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package ru.akhcheck.patterns.builder;

import ru.akhcheck.patterns.builder.base.Burger;
import ru.akhcheck.patterns.builder.builders.VegiburgerBuilder;
import ru.akhcheck.patterns.builder.builders.BurgerBuilder;
import ru.akhcheck.patterns.builder.builders.HamburgerBuilder;
import ru.akhcheck.patterns.builder.builders.VegiburgerBuilder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
public class Breakfast extends Dish {
@Override
public int GetCalories() {
return super.GetCalories() + 10;
return super.GetCalories() - 10;
}
}

0 comments on commit 9165d5b

Please sign in to comment.