Skip to content

mimeparse references insecure and obsolete commons-lang jar #1

Description

@normana400

the fix here would be to replace the commons-lang reference with the latest org.apache.commons.commons-lang3 library. This also introduces the org.apache.commons.commons-math3 library to handle the migration of NumberUtils to that library (it used to be a part of commons-lang).

As part of this I updated the targeted output of 1.7 to be 1.8 to remove the following warning during compilation:
[WARNING] source value 7 is obsolete and will be removed in a future release
[WARNING] target value 7 is obsolete and will be removed in a future release

Tests run fine although the output of the MIMEParseTest.testParseMediaRange returns the toString contents in a different order. This is because the HashMaps are technically not in a guaranteed ordering.

updated the snapshot to be 0.2.0-SNAPSHOT since this is raising the source and target from 1.7 to 1.8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions