From 5d09272876fbf272a5f3b8f06274fbfaf3690e1d Mon Sep 17 00:00:00 2001 From: Christoph Strobl Date: Tue, 13 Sep 2016 10:04:02 +0200 Subject: [PATCH] DATAREDIS-551 - Polishing. Fix indentation. Original Pull Request: #220 --- .../data/redis/core/RedisQueryEngine.java | 2 +- .../repository/RedisRepositoryIntegrationTestBase.java | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/springframework/data/redis/core/RedisQueryEngine.java b/src/main/java/org/springframework/data/redis/core/RedisQueryEngine.java index a4e9c6c86..b174da221 100644 --- a/src/main/java/org/springframework/data/redis/core/RedisQueryEngine.java +++ b/src/main/java/org/springframework/data/redis/core/RedisQueryEngine.java @@ -157,7 +157,7 @@ class RedisQueryEngine extends QueryEngine firstPage = repo.findAll(new PageRequest(0, 2)); - assertThat(firstPage.getContent(), hasSize(2)); - assertThat(repo.findAll(firstPage.nextPageable()).getContent(), hasSize(1)); + assertThat(firstPage.getContent(), hasSize(2)); + assertThat(repo.findAll(firstPage.nextPageable()).getContent(), hasSize(1)); } /** @@ -235,9 +235,9 @@ public abstract class RedisRepositoryIntegrationTestBase { repo.save(Arrays.asList(eddard, robb, jon)); Page firstPage = repo.findBy(new PageRequest(0, 2)); - assertThat(firstPage.getContent(), hasSize(2)); - assertThat(firstPage.getTotalElements(), is(equalTo(3L))); - assertThat(repo.findBy(firstPage.nextPageable()).getContent(), hasSize(1)); + assertThat(firstPage.getContent(), hasSize(2)); + assertThat(firstPage.getTotalElements(), is(equalTo(3L))); + assertThat(repo.findBy(firstPage.nextPageable()).getContent(), hasSize(1)); } /**