[BAEL-3936] Fixed format to use 2-space indenting for line continuations.
This commit is contained in:
+5
-4
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
+6
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user