Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .claude/skills/migrate-groovy-to-java/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ When converting Groovy code to Java code, make sure that:
- Do not wrap checked exceptions and throw a Runtime exception; prefer adding a throws clause at method declaration
- Do not mark local variables `final`
- Ensure variables are human-readable; avoid single-letter names and pre-define variables that are referenced multiple times
- When translating Spock `Mock(...)` usage, use `libs.bundles.mockito` instead of writing manual recording/stub implementations
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Originally the AI had implemented its own detailed inner classes where using mockito would be much cleaner. See b628e82

1 change: 1 addition & 0 deletions dd-trace-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@ description = "dd-trace-api"
dependencies {
api(libs.slf4j)
testImplementation(libs.guava)
testImplementation(libs.bundles.mockito)
testImplementation(project(":utils:test-utils"))
}

This file was deleted.

Loading