[jira] [Updated] (FLINK-14962) FindBugs warnings: Inefficient use of keySet iterator instead of entrySet iterator
[ https://issues.apache.org/jira/browse/FLINK-14962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kurt Young updated FLINK-14962: --- Affects Version/s: (was: 1.9.0) Issue Type: Improvement (was: Bug) Priority: Minor (was: Major) > FindBugs warnings: Inefficient use of keySet iterator instead of entrySet > iterator > -- > > Key: FLINK-14962 > URL: https://issues.apache.org/jira/browse/FLINK-14962 > Project: Flink > Issue Type: Improvement > Components: Connectors / Common, Formats (JSON, Avro, Parquet, ORC, > SequenceFile) >Affects Versions: 1.8.0, 1.9.1 >Reporter: Dezhi Cai >Assignee: Dezhi Cai >Priority: Minor > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > FindBugs report WMI_WRONG_MAP_ITERATOR warnings on master. > related class : > org.apache.flink.formats.parquet.ParquetMapInputFormat > org.apache.flink.graph.library.CommunityDetection > org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink (already > marked as "Deprecated") > > The description of the bug is as follows: > *WMI: Inefficient use of keySet iterator instead of entrySet iterator > (WMI_WRONG_MAP_ITERATOR)* > This method accesses the value of a Map entry, using a key that was > retrieved from a keySet iterator. It is more efficient to use an iterator on > the entrySet of the map, to avoid the Map.get(key) lookup. > [http://findbugs.sourceforge.net/bugDescriptions.html#WMI_WRONG_MAP_ITERATOR] -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-14962) FindBugs warnings: Inefficient use of keySet iterator instead of entrySet iterator
[ https://issues.apache.org/jira/browse/FLINK-14962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dezhi Cai updated FLINK-14962: -- Component/s: Formats (JSON, Avro, Parquet, ORC, SequenceFile) > FindBugs warnings: Inefficient use of keySet iterator instead of entrySet > iterator > -- > > Key: FLINK-14962 > URL: https://issues.apache.org/jira/browse/FLINK-14962 > Project: Flink > Issue Type: Bug > Components: Connectors / Common, Formats (JSON, Avro, Parquet, ORC, > SequenceFile) >Affects Versions: 1.8.0, 1.9.0, 1.9.1 >Reporter: Dezhi Cai >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > FindBugs report WMI_WRONG_MAP_ITERATOR warnings on master. > related class : > org.apache.flink.formats.parquet.ParquetMapInputFormat > org.apache.flink.graph.library.CommunityDetection > org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink (already > marked as "Deprecated") > > The description of the bug is as follows: > *WMI: Inefficient use of keySet iterator instead of entrySet iterator > (WMI_WRONG_MAP_ITERATOR)* > This method accesses the value of a Map entry, using a key that was > retrieved from a keySet iterator. It is more efficient to use an iterator on > the entrySet of the map, to avoid the Map.get(key) lookup. > [http://findbugs.sourceforge.net/bugDescriptions.html#WMI_WRONG_MAP_ITERATOR] -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-14962) FindBugs warnings: Inefficient use of keySet iterator instead of entrySet iterator
[ https://issues.apache.org/jira/browse/FLINK-14962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dezhi Cai updated FLINK-14962: -- Description: FindBugs report WMI_WRONG_MAP_ITERATOR warnings on master. related class : org.apache.flink.formats.parquet.ParquetMapInputFormat org.apache.flink.graph.library.CommunityDetection org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink (already marked as "Deprecated") The description of the bug is as follows: *WMI: Inefficient use of keySet iterator instead of entrySet iterator (WMI_WRONG_MAP_ITERATOR)* This method accesses the value of a Map entry, using a key that was retrieved from a keySet iterator. It is more efficient to use an iterator on the entrySet of the map, to avoid the Map.get(key) lookup. [http://findbugs.sourceforge.net/bugDescriptions.html#WMI_WRONG_MAP_ITERATOR] was: FindBugs report WMI_WRONG_MAP_ITERATOR warnings on master. related class : org.apache.flink.formats.parquet.ParquetMapInputFormat org.apache.flink.graph.library.CommunityDetection org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink (already marked as "Deprecated") The description of the bug is as follows: *WMI: Inefficient use of keySet iterator instead of entrySet iterator (WMI_WRONG_MAP_ITERATOR)* This method accesses the value of a Map entry, using a key that was retrieved from a keySet iterator. It is more efficient to use an iterator on the entrySet of the map, to avoid the Map.get(key) lookup. [http://findbugs.sourceforge.net/bugDescriptions.html#WMI_WRONG_MAP_ITERATOR] > FindBugs warnings: Inefficient use of keySet iterator instead of entrySet > iterator > -- > > Key: FLINK-14962 > URL: https://issues.apache.org/jira/browse/FLINK-14962 > Project: Flink > Issue Type: Bug > Components: Connectors / Common >Affects Versions: 1.8.0, 1.9.0, 1.9.1 >Reporter: Dezhi Cai >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > FindBugs report WMI_WRONG_MAP_ITERATOR warnings on master. > related class : > org.apache.flink.formats.parquet.ParquetMapInputFormat > org.apache.flink.graph.library.CommunityDetection > org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink (already > marked as "Deprecated") > > The description of the bug is as follows: > *WMI: Inefficient use of keySet iterator instead of entrySet iterator > (WMI_WRONG_MAP_ITERATOR)* > This method accesses the value of a Map entry, using a key that was > retrieved from a keySet iterator. It is more efficient to use an iterator on > the entrySet of the map, to avoid the Map.get(key) lookup. > [http://findbugs.sourceforge.net/bugDescriptions.html#WMI_WRONG_MAP_ITERATOR] -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FLINK-14962) FindBugs warnings: Inefficient use of keySet iterator instead of entrySet iterator
[ https://issues.apache.org/jira/browse/FLINK-14962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated FLINK-14962: --- Labels: pull-request-available (was: ) > FindBugs warnings: Inefficient use of keySet iterator instead of entrySet > iterator > -- > > Key: FLINK-14962 > URL: https://issues.apache.org/jira/browse/FLINK-14962 > Project: Flink > Issue Type: Bug > Components: Connectors / Common >Affects Versions: 1.8.0, 1.9.0, 1.9.1 >Reporter: Dezhi Cai >Priority: Major > Labels: pull-request-available > > FindBugs report WMI_WRONG_MAP_ITERATOR warnings on master. > related class : > org.apache.flink.formats.parquet.ParquetMapInputFormat > org.apache.flink.graph.library.CommunityDetection > org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink (already > marked as "Deprecated") > > > The description of the bug is as follows: > *WMI: Inefficient use of keySet iterator instead of entrySet iterator > (WMI_WRONG_MAP_ITERATOR)* > This method accesses the value of a Map entry, using a key that was retrieved > from a keySet iterator. It is more efficient to use an iterator on the > entrySet of the map, to avoid the Map.get(key) lookup. > [http://findbugs.sourceforge.net/bugDescriptions.html#WMI_WRONG_MAP_ITERATOR] -- This message was sent by Atlassian Jira (v8.3.4#803005)