Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-2715

Rule S899: ignore 'BlockingQueue.drainTo'

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3
    • Component/s: Rules
    • Labels:
      None

      Description

      BlockingQueue.drainTo appears to have been added to this rule because it returns an int, but that int value is a count rather than a status. So let's ignore the method in this rule.

        Attachments

          Activity

            People

            • Assignee:
              pierre-yves.nicolas Pierre-Yves Nicolas
              Reporter:
              ann.campbell.2 Ann Campbell
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: