Cleanup kotlin sources

1. remove unused imports
2. remove redundant semicolon
3. remove empty class body
4. remove redundant 'constructor' keyword
5. remove redundant 'Unit' return type
6. use non-null type if possible

See gh-38708
This commit is contained in:
Yanming Zhou
2023-12-08 09:49:33 +08:00
committed by Moritz Halbritter
parent 4ad9f1174f
commit ebfbc0ef05
20 changed files with 32 additions and 56 deletions

View File

@@ -1,5 +1,3 @@
import org.springframework.boot.gradle.tasks.run.BootRun
plugins {
java
application

View File

@@ -1,5 +1,3 @@
import org.springframework.boot.gradle.tasks.run.BootRun
plugins {
java
application