Skip to content

Commit 3351350

Browse files
committed
Polishing.
Remove superfluous empty line comments. See #3504 Original pull request #3508
1 parent 0f6736f commit 3351350

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/query/HqlQueryTransformerTests.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -208,16 +208,6 @@ void applySortingAccountsForNewlinesInSubselect() {
208208

209209
Sort sort = Sort.by(Sort.Order.desc("age"));
210210

211-
//
212-
//
213-
//
214-
//
215-
//
216-
//
217-
//
218-
//
219-
//
220-
//
221211
assertThat(newParser("""
222212
select u
223213
from user u
@@ -364,7 +354,6 @@ void detectsConstructorExpressionInDistinctQuery() {
364354
@Test // DATAJPA-938
365355
void detectsComplexConstructorExpression() {
366356

367-
//
368357
assertThat(hasConstructorExpression(
369358
"""
370359
select new foo.bar.Foo(ip.id, ip.name, sum(lp.amount))
@@ -487,9 +476,6 @@ void detectsAliasWithGroupAndOrderBy() {
487476
@Test // DATAJPA-1500
488477
void createCountQuerySupportsWhitespaceCharacters() {
489478

490-
//
491-
//
492-
//
493479
assertThat(createCountQueryFor("""
494480
select user from User user
495481
where user.age = 18
@@ -533,11 +519,6 @@ WITH maxId AS(select max(sr.snapshot.id) snapshotId from SnapshotReference sr
533519
@Test
534520
void createCountQuerySupportsLineBreaksInSelectClause() {
535521

536-
//
537-
//
538-
//
539-
//
540-
//
541522
assertThat(createCountQueryFor("""
542523
select user.age,
543524
user.name
@@ -600,10 +581,6 @@ void appliesSortCorrectlyForSimpleField() {
600581
@Test
601582
void createCountQuerySupportsLineBreakRightAfterDistinct() {
602583

603-
//
604-
//
605-
//
606-
//
607584
assertThat(createCountQueryFor("""
608585
select
609586
distinct

0 commit comments

Comments
 (0)