|
Fix Manipulation<T> interface return type from String to T
The manipulate(T value) method was hardcoded to return String, forcing all implementations into a String-only contract regardless of the generic type parameter. Changed to T manipulate(T value) so the return type correctly matches the input type. No implementation changes required: existing Manipulation<String> implementations already return String (which satisfies T=String), and the CustomTransformation Manipulation<Object> path is compatible via covariant return types. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
|---|
|
|
| src/main/java/io/ljunggren/transformer/manipulation/Manipulation.java |
|---|