Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4132

Fix boxed comparison in CommunityDetection algorithm

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • None

    Description

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

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

      Attachments

        Issue Links

          Activity

            People

              greghogan Greg Hogan
              greghogan Greg Hogan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: