[
https://issues.apache.org/jira/browse/FLINK-9264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321592#comment-17321592
]
Flink Jira Bot commented on FLINK-9264:
---------------------------------------
This issue and all of its Sub-Tasks have not been updated for 180 days. So, it
has been labeled "stale-minor". If you are still affected by this bug or are
still interested in this issue, please give an update and remove the label. In
7 days the issue will be closed automatically.
> Add method Writer[A]#contramap[B](f: B => A): Writer[B]
> -------------------------------------------------------
>
> Key: FLINK-9264
> URL: https://issues.apache.org/jira/browse/FLINK-9264
> Project: Flink
> Issue Type: Task
> Components: FileSystems
> Affects Versions: 1.5.0
> Reporter: Josh Lemer
> Assignee: vinoyang
> Priority: Minor
> Labels: stale-minor
>
> Similar to https://issues.apache.org/jira/browse/FLINK-9221, it would be very
> handy to have a `Add method Writer[A]#contramap[B](f: B => A): Writer[B]`
> method, which would allow reuse of existing writers, with a "formatting"
> function placed infront of it. For example:
> val stringWriter = new StringWriter[String]()
> val intWriter: Writer[Int] = stringWriter.contraMap[Int](_.toString)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)