Skip to content

Commit ee03595

Browse files
afrankenCopilot
andauthored
Fix wording
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d3938e0 commit ee03595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/SPRING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ internal class BucketControllerTest : BaseControllerTest() {
137137
|---|---|
138138
| `@ExtendWith(MockitoExtension::class)` + `@Mock` + `@InjectMocks` | `@SpringBootTest` + `@MockitoBean` + `@Autowired` |
139139
| `@Autowired` field injection in production code | Constructor injection |
140-
| Business logic in controller method | Delegate to `@Service` |
140+
| Business logic in controller method | Delegate to a service class |
141141
| Returning a raw `String` from a controller | Return a typed DTO wrapped in `ResponseEntity` |
142142
| `@Value("${property}")` scattered throughout beans | `@ConfigurationProperties` data class |
143143
| New exception class for S3 errors | `S3Exception` constant |

0 commit comments

Comments
 (0)