Skip to content

Commit be94f76

Browse files
committed
Polishing.
Reformat code. See #1723
1 parent 8e7a1e1 commit be94f76

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spring-data-r2dbc/src/test/java/org/springframework/data/r2dbc/repository/ConvertingR2dbcRepositoryIntegrationTests.java

+5-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
@ExtendWith(SpringExtension.class)
5858
public class ConvertingR2dbcRepositoryIntegrationTests {
5959

60-
@Autowired private ConvertedRepository repository;
60+
private @Autowired ConvertedRepository repository;
6161
private JdbcTemplate jdbc;
6262

6363
@Configuration
@@ -77,7 +77,7 @@ protected List<Object> getCustomConverters() {
7777
}
7878

7979
@BeforeEach
80-
public void before() {
80+
void before() {
8181

8282
this.jdbc = new JdbcTemplate(createDataSource());
8383

@@ -124,8 +124,9 @@ void shouldInsertAndReadItems() {
124124
}).verifyComplete();
125125
}
126126

127-
@Test
127+
@Test // GH-1723
128128
void shouldNotUseConverterForCountQueries() {
129+
129130
ConvertedEntity entity = new ConvertedEntity();
130131
entity.name = "name";
131132

@@ -142,6 +143,7 @@ void shouldNotUseConverterForCountQueries() {
142143
}
143144

144145
interface ConvertedRepository extends ReactiveCrudRepository<ConvertedEntity, Integer> {
146+
145147
@Query("SELECT COUNT(*) FROM CONVERTED_ENTITY")
146148
Mono<Long> countWithCustomQuery();
147149
}

0 commit comments

Comments
 (0)