[
https://issues.apache.org/jira/browse/BEAM-9878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548601#comment-17548601
]
Danny McCormick commented on BEAM-9878:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/20225
> Update ElementByteSizeObservableIterable
> ----------------------------------------
>
> Key: BEAM-9878
> URL: https://issues.apache.org/jira/browse/BEAM-9878
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Kyle Weaver
> Priority: P3
>
> It's odd that ElementByteSizeObservableIterable::iterator adds observers
> within the method body. I assume this is for historic reasons, since it
> doesn't seem to do anything now, and the comment documenting references a
> setObserver method that doesn't exist.
> https://github.com/apache/beam/blob/6453e859badcb629ae2528b77d84235b7291ff89/sdks/java/core/src/main/java/org/apache/beam/sdk/util/common/ElementByteSizeObservableIterable.java#L49-L61
--
This message was sent by Atlassian Jira
(v8.20.7#820007)