Skip to content

equalsIgnoreCase instead of equals #1

@bedirhan

Description

@bedirhan

testAnalyze of org.codesecure.dependencycheck.analyzer.JarAnalyzerTest line 75 uses equals for string comparison which fails the "implementation-url" comparison. I've changed that to equalsIgnoreCase and compiled successtully.

        if (e.getName().equalsIgnoreCase("implementation-url") && e.getValue().equals("http://jetty.mortbay.org")) {
            found = true;
            break;
        }

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