[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())
|
if (o == null || getClass() != o.getClass())
|
||||||
return false;
|
return false;
|
||||||
MultipleRecipe that = (MultipleRecipe) o;
|
MultipleRecipe that = (MultipleRecipe) o;
|
||||||
|
|
||||||
return Objects.equals(id, that.id) &&
|
return Objects.equals(id, that.id) &&
|
||||||
Objects.equals(cocktail, that.cocktail) &&
|
Objects.equals(cocktail, that.cocktail) &&
|
||||||
Objects.equals(instructions, that.instructions) &&
|
Objects.equals(instructions, that.instructions) &&
|
||||||
|
@ -34,11 +34,13 @@ public class Recipe {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
if (this == o) return true;
|
if (this == o)
|
||||||
if (o == null || getClass() != o.getClass()) return false;
|
return true;
|
||||||
|
if (o == null || getClass() != o.getClass())
|
||||||
|
return false;
|
||||||
Recipe recipe = (Recipe) o;
|
Recipe recipe = (Recipe) o;
|
||||||
return Objects.equals(cocktail, recipe.cocktail) &&
|
return Objects.equals(cocktail, recipe.cocktail)
|
||||||
Objects.equals(instructions, recipe.instructions);
|
&& Objects.equals(instructions, recipe.instructions);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -167,8 +167,8 @@ public class UnrelatedEntitiesUnitTest {
|
|||||||
+ "from MultipleRecipe r "
|
+ "from MultipleRecipe r "
|
||||||
+ "join Cocktail c "
|
+ "join Cocktail c "
|
||||||
+ "on r.baseIngredient = c.category",
|
+ "on r.baseIngredient = c.category",
|
||||||
MultipleRecipe.class)
|
MultipleRecipe.class).getResultList();
|
||||||
.getResultList();
|
|
||||||
verifyResult.accept(recipes);
|
verifyResult.accept(recipes);
|
||||||
|
|
||||||
// QueryDSL
|
// QueryDSL
|
||||||
@ -178,6 +178,7 @@ public class UnrelatedEntitiesUnitTest {
|
|||||||
.join(cocktail)
|
.join(cocktail)
|
||||||
.on(multipleRecipe.baseIngredient.eq(cocktail.category))
|
.on(multipleRecipe.baseIngredient.eq(cocktail.category))
|
||||||
.fetch();
|
.fetch();
|
||||||
|
|
||||||
verifyResult.accept(recipes);
|
verifyResult.accept(recipes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user