You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Greg Hogan (JIRA)" <ji...@apache.org> on 2016/06/29 13:03:37 UTC

[jira] [Created] (FLINK-4132) Fix boxed comparison in CommunityDetection algorithm

Greg Hogan created FLINK-4132:
---------------------------------

             Summary: Fix boxed comparison in CommunityDetection algorithm
                 Key: FLINK-4132
                 URL: https://issues.apache.org/jira/browse/FLINK-4132
             Project: Flink
          Issue Type: Bug
          Components: Gelly
    Affects Versions: 1.1.0
            Reporter: Greg Hogan
            Assignee: Greg Hogan
            Priority: Minor
             Fix For: 1.1.0


IntelliJ notes that testing boxed primitives for equality will compare pointer values. We should be using primitives types.

{code}
if (maxScoreLabel != vertex.getValue().f0) {
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)