[BAEL-3936] Fixed format to use 2-space indenting for line continuations.

This commit is contained in:
kkaravitis
2020-04-24 15:04:44 +03:00
parent 717b0e1711
commit 6a08fca7aa
3 changed files with 70 additions and 66 deletions
@@ -56,15 +56,16 @@ public class MultipleRecipe {
if (o == null || getClass() != o.getClass())
return false;
MultipleRecipe that = (MultipleRecipe) o;
return Objects.equals(id, that.id) &&
Objects.equals(cocktail, that.cocktail) &&
Objects.equals(instructions, that.instructions) &&
Objects.equals(baseIngredient, that.baseIngredient);
Objects.equals(cocktail, that.cocktail) &&
Objects.equals(instructions, that.instructions) &&
Objects.equals(baseIngredient, that.baseIngredient);
}
@Override
public int hashCode() {
return Objects.hash(id, cocktail,
instructions, baseIngredient);
instructions, baseIngredient);
}
}
@@ -34,11 +34,13 @@ public class Recipe {
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
Recipe recipe = (Recipe) o;
return Objects.equals(cocktail, recipe.cocktail) &&
Objects.equals(instructions, recipe.instructions);
return Objects.equals(cocktail, recipe.cocktail)
&& Objects.equals(instructions, recipe.instructions);
}
@Override