RandomSec/main/tests/server
Tom Morris a86a6d4e3b
sort() handles nulls instead of throwing NPE - fixes #3152 (#3162)
* Add utility helpers to create array of comparable items

* Extend sort() to handle arrays with nulls

- Instead of NullPointerException on nulls, sort them last
- add JSON helpers to return Comparable[] in addition to Object[]
- Non-homogenous arrays or arrays with non-primitive
  objects (array or object) are not sortable
- Add tests for both new and old sort functionality
2020-09-05 23:01:47 +02:00
..
conf Add https for all TestNG DTDs 2020-08-03 12:27:58 -04:00
src sort() handles nulls instead of throwing NPE - fixes #3152 (#3162) 2020-09-05 23:01:47 +02:00