Class ApachePatch
java.lang.Object
com.easypost.utils.ApachePatch
This class is a collection of Apache functions that have been extracted for use in this application.
This class is required because Apache's libraries are notorious for security vulnerabilities, so we'll only
extract the safe functions that we need, rather than importing an entire vulnerable dependency.
A lot of the functions in here are lifted straight from Apache's source code with minor alterations, so any janky code complaints should be directed at the Apache developers who wrote them probably 20 years ago.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This class was lifted and modified from common-codec:common-codec version 1.15, namespace org.apache.commons.codec.binary.Hex, released under the Apache License 2.0. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
ApachePatch
public ApachePatch()
-