From 6f44a40ecb9ef9691550896710bb4ae7b232858b Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Tue, 25 Jul 2017 13:40:17 +0200 Subject: [PATCH] DATACMNS-1129 - Polishing. Formatting. --- .../query/parser/PartTreeUnitTests.java | 39 +++++++++---------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java b/src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java index 64f91f792..423d082de 100755 --- a/src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java @@ -328,12 +328,11 @@ public class PartTreeUnitTests { DomainObjectWithSpecialChars.class); Iterator parts = tree.iterator(); - assertPartsIn(parts.next(), - new Part[] { // - new Part("이름", DomainObjectWithSpecialChars.class), // - new Part("order.id", DomainObjectWithSpecialChars.class), // - new Part("nested.이름", DomainObjectWithSpecialChars.class) // - }); + assertPartsIn(parts.next(), new Part[] { // + new Part("이름", DomainObjectWithSpecialChars.class), // + new Part("order.id", DomainObjectWithSpecialChars.class), // + new Part("nested.이름", DomainObjectWithSpecialChars.class) // + }); assertPartsIn(parts.next(), new Part[] { // new Part("nested.order.id", DomainObjectWithSpecialChars.class) // }); @@ -358,21 +357,19 @@ public class PartTreeUnitTests { DomainObjectWithSpecialChars.class); Iterator parts = tree.iterator(); - assertPartsIn(parts.next(), - new Part[] { // - new Part("이름", DomainObjectWithSpecialChars.class), // - new Part("order.id", DomainObjectWithSpecialChars.class), // - new Part("anders", DomainObjectWithSpecialChars.class), // - new Part("property1", DomainObjectWithSpecialChars.class), // - new Part("øre", DomainObjectWithSpecialChars.class), // - new Part("år", DomainObjectWithSpecialChars.class) // - }); - assertPartsIn(parts.next(), - new Part[] { // - new Part("nested.order.id", DomainObjectWithSpecialChars.class), // - new Part("nested.property1", DomainObjectWithSpecialChars.class), // - new Part("property1", DomainObjectWithSpecialChars.class) // - }); + assertPartsIn(parts.next(), new Part[] { // + new Part("이름", DomainObjectWithSpecialChars.class), // + new Part("order.id", DomainObjectWithSpecialChars.class), // + new Part("anders", DomainObjectWithSpecialChars.class), // + new Part("property1", DomainObjectWithSpecialChars.class), // + new Part("øre", DomainObjectWithSpecialChars.class), // + new Part("år", DomainObjectWithSpecialChars.class) // + }); + assertPartsIn(parts.next(), new Part[] { // + new Part("nested.order.id", DomainObjectWithSpecialChars.class), // + new Part("nested.property1", DomainObjectWithSpecialChars.class), // + new Part("property1", DomainObjectWithSpecialChars.class) // + }); assertThat(tree.getSort().getOrderFor("생일").isAscending()).isTrue(); }