Skip to content

Tests: unnecessary checks for null #3

Open
@jottinger

Description

@jottinger

I added jacoco to a local fork to see about test coverage, and there are paths untested entirely (FileHandler.readFileMap() for example) or other paths that should not be accessible (PathHandler.getDirectoryPath() has a path where object is null, for example, and that can be replaced with Objects.requireNonNull(object;) if you're on a recent JDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions