8000 False positive in UnnecessarySafeCall (1.11.0-RC2) · Issue #2961 · detekt/detekt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
False positive in UnnecessarySafeCall (1.11.0-RC2) #2961
Closed
@vladimirfx

Description

@vladimirfx

Observed Behavior

Issue reported for necessary safe call:

val linkedDevices: Map<Device, DeviceLink>
...
linkedDevices[ownerDevice]?.isOwned = true

Your Environment

  • Version of detekt used: 1.11.0-RC2
  • Version of Gradle used (if applicable): 6.6
  • Operating System and version: MacOS 10.15.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0