You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Anonymous (Jira)" <ji...@apache.org> on 2024/07/25 23:54:00 UTC

[jira] [Updated] (BEAM-417) AvroUtils$AvroMetadata exposes mutable syncMarker

     [ https://issues.apache.org/jira/browse/BEAM-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anonymous updated BEAM-417:
---------------------------
    Status: Triage Needed  (was: Resolved)

> AvroUtils$AvroMetadata exposes mutable syncMarker
> -------------------------------------------------
>
>                 Key: BEAM-417
>                 URL: https://issues.apache.org/jira/browse/BEAM-417
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Scott Wegner
>            Assignee: Scott Wegner
>            Priority: P3
>              Labels: Done, findbugs, newbie, starter
>             Fix For: Not applicable
>
>
> [FindBugs EI_EXPOSE_REP|https://github.com/apache/incubator-beam/blob/58a029a06aea1030279e5da8f9fa3114f456c1db/sdks/java/build-tools/src/main/resources/beam/findbugs-filter.xml#L351]: May expose internal representation by returning reference to mutable object
> Applies to: [AvroUtils$AvroMetadata.getSyncMarker|https://github.com/apache/incubator-beam/blob/58a029a06aea1030279e5da8f9fa3114f456c1db/sdks/java/core/src/main/java/org/apache/beam/sdk/util/AvroUtils.java#L92].
> This is a good starter bug. When fixing, please remove the corresponding entries from [findbugs-filter.xml|https://github.com/apache/incubator-beam/blob/master/sdks/java/build-tools/src/main/resources/beam/findbugs-filter.xml] and verify the build passes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)