-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge: coderabbitai 테스트 #6
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,28 @@ | ||||||||||||||
package com.onboard.server.domain | ||||||||||||||
|
||||||||||||||
import org.springframework.stereotype.Controller | ||||||||||||||
import org.springframework.web.bind.annotation.GetMapping | ||||||||||||||
import org.springframework.web.bind.annotation.RequestMapping | ||||||||||||||
import org.springframework.web.bind.annotation.RestController | ||||||||||||||
|
||||||||||||||
@RequestMapping("/say") | ||||||||||||||
@Controller | ||||||||||||||
@RestController | ||||||||||||||
class HelloController { | ||||||||||||||
companion object { | ||||||||||||||
const val ABCDE = "abcde" | ||||||||||||||
} | ||||||||||||||
|
||||||||||||||
constructor() | ||||||||||||||
|
||||||||||||||
Comment on lines
+16
to
+17
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove unnecessary constructor. Kotlin provides a default constructor, so this explicit declaration is unnecessary. - constructor() Committable suggestion
Suggested change
|
||||||||||||||
@GetMapping("/hello") | ||||||||||||||
fun hello() = "hello" | ||||||||||||||
|
||||||||||||||
@GetMapping("/move") | ||||||||||||||
fun move() = "move" | ||||||||||||||
|
||||||||||||||
Check failure on line 23 in src/main/kotlin/com/onboard/server/domain/HelloController.kt
|
||||||||||||||
|
||||||||||||||
Check failure on line 24 in src/main/kotlin/com/onboard/server/domain/HelloController.kt
|
||||||||||||||
|
||||||||||||||
|
||||||||||||||
} | ||||||||||||||
Comment on lines
+23
to
+27
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove unnecessary blank lines. There are unexpected blank lines before the closing brace. -
-
-
- Committable suggestion
Suggested change
ToolsGitHub Check: lint
|
||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove redundant
@Controller
annotation.The
@RestController
annotation already includes@Controller
, making it redundant.