[BAEL-3936] Fixed format to use 2-space indenting for line continuations.
This commit is contained in:
parent
717b0e1711
commit
6a08fca7aa
@ -56,6 +56,7 @@ 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) &&
|
||||
|
@ -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
|
||||
|
@ -167,8 +167,8 @@ public class UnrelatedEntitiesUnitTest {
|
||||
+ "from MultipleRecipe r "
|
||||
+ "join Cocktail c "
|
||||
+ "on r.baseIngredient = c.category",
|
||||
MultipleRecipe.class)
|
||||
.getResultList();
|
||||
MultipleRecipe.class).getResultList();
|
||||
|
||||
verifyResult.accept(recipes);
|
||||
|
||||
// QueryDSL
|
||||
@ -178,6 +178,7 @@ public class UnrelatedEntitiesUnitTest {
|
||||
.join(cocktail)
|
||||
.on(multipleRecipe.baseIngredient.eq(cocktail.category))
|
||||
.fetch();
|
||||
|
||||
verifyResult.accept(recipes);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user