Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
null checks weren't being performed in the equals(byte[], int, byte[], int, int) method.
remove the try-catch block from equals(byte[], byte[]) method because the length equality check prevents the exception from ever being thrown.
changes are complimented with a full battery of test cases.