[
https://issues.apache.org/jira/browse/BEAM-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961721#comment-15961721
]
Xu Mingmin commented on BEAM-1918:
----------------------------------
+1 annotation has more flexibility. A strict interface makes sense for me,
especially to avoid any methods misused. Now it's only detected when job is
running. True or my Eclipse isnot setup properly?
> a BasicDoFn with abstract methods
> ---------------------------------
>
> Key: BEAM-1918
> URL: https://issues.apache.org/jira/browse/BEAM-1918
> Project: Beam
> Issue Type: Wish
> Components: sdk-java-core
> Reporter: Xu Mingmin
> Assignee: Davor Bonaci
>
> {{DoFn}} use annotations to define the methods, which is not quite
> straight-forward. A {{BasicDoFn}} with default methods, or define as
> abstract, can benefit developers:
> 1. direct view of method descriptor;
> 2. avoid incorrect methods during run-time;
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)