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>
1 parent 0df9033 commit abc30bff536ca8263b536bec9df1137e148f96a0
@Your Name Your Name authored on 8 May
Showing 1 changed file
View
src/main/java/io/ljunggren/transformer/manipulation/Manipulation.java