Transforms the input string @deprecated Use ToStringFunction instead.
| 6 | * @deprecated Use {@code ToStringFunction<String>} instead. |
| 7 | */ |
| 8 | @Deprecated |
| 9 | public abstract class StringProcessor implements ToStringFunction<String> { |
| 10 | // now abstract class because JDK1.7 does not allow default methods in interfaces |
| 11 | /** |
| 12 | * Transforms the input string |
| 13 | * |
| 14 | * @deprecated Use {@code ToStringFunction#apply(String)} instead. |
| 15 | * @param in Input string |
| 16 | * @return The processed string |
| 17 | */ |
| 18 | @Deprecated |
| 19 | public abstract String process(String in); |
| 20 | |
| 21 | @Override |
| 22 | public String apply(String item) { |
| 23 | return process(item); |
| 24 | } |
| 25 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…