분석 결과를 기반으로 Spring 전환 체크리스트 작성 (E2E-MINIMAX-DEV-001)
This commit is contained in:
parent
4f70edcbc7
commit
4f078f35ae
1 changed files with 18 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
package com.example.e2eminimax.service;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class MinimaxService {
|
||||
|
||||
public String processRequest(String input) {
|
||||
if (input == null || input.isBlank()) {
|
||||
throw new IllegalArgumentException("Input cannot be null or blank");
|
||||
}
|
||||
return "Processed: " + input;
|
||||
}
|
||||
|
||||
public boolean validateInput(String input) {
|
||||
return input != null && !input.isBlank();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue