You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Whats added:
* corrected logic fix and warn String Template in LineLength rule
* added logic fix and warn long Dot Qualified Expression and Safe Access Expression in LineLength rule
* added logic fix and warn Value Arguments List in LineLength rule
* added and corrected fix and warn tests in LineLength rule
* moved fix logic to class methods
### Issue (#1243)
" test_execution on test.id = test_execution.test_id and test_execution.st", nativeQuery =true)
3
+
@Query(
4
+
value ="select * from test inner join test_execution on test.id = test_execution.test_id and test_execution.st",
5
+
nativeQuery =true
6
+
)
5
7
funretrieveBatches(limit:Int, offset:Int, executionId:Long): Some
6
8
7
-
@Query(value ="select * from test inner join"+
8
-
" test_execution on test.id = test_execution.test_id and test_execution.status = 'READY' and test_execution.test_suite_execution_id = ?3 limit ?1 offset ?2", nativeQuery =true)
9
+
@Query(
10
+
value ="select * from test inner join test_execution on test.id = test_execution.test_id and test_execution.status = 'READY' and test_execution.test_suite_execution_id = ?3 limit ?1 offset ?2",
" test_execution on test.id = test_execution.test_id and test_execution.status = 'READY' and test_execution.test_suite_execution_id = ?3 limit ?1 offset ?2", nativeQuery =true)
23
+
@Query(
24
+
value ="select * from test inner join test_execution on test.id = test_execution.test_id and test_execution.status = 'READY' and test_execution.test_suite_execution_id = ?3 limit ?1 offset ?2",
Copy file name to clipboardExpand all lines: diktat-rules/src/test/resources/test/paragraph3/long_line/LongStringTemplateTest.kt
+2
Original file line number
Diff line number
Diff line change
@@ -38,4 +38,6 @@ class Foo() {
38
38
}
39
39
""".trimIndent()
40
40
}
41
+
42
+
val stringName ="This is long string template with binary expression. test should be up in level binary expression and cannot split in operation reference and should be split this long string template"+"this string should be after operated reference"
0 commit comments