Skip to content

Resource leak: CSVReader and FileReader never closed in UserDatabaseHandler.readFileCsv #3966

@PDGGK

Description

@PDGGK

CSVReader wrapping FileReader at line 233 in readFileCsv() is never closed. Compare with readFileExcel() in the same class (line 267) which correctly uses try-with-resources. Fix: wrap in try-with-resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions