Java API Bug Found for IDataUtilsortIDataArrayByKey

Just a quick heads up for users of IS 4.6 SP1 (and potentially others…)

The IDataUtil Class API has an error in the method sortIDataArrayByKey().

The method input variable “compareType” offers 4 valid values:

  1. IDataUtil.COMPARE_TYPE_COLLATION []IDataUtil.COMPARE_TYPE_NUMERIC []IDataUtil.COMPARE_TYPE_EQUALS IDataUtil.COMPARE_TYPE_TIMEs

The last value should read IDataUtil.COMPARE_TYPE_TIME – there is no constant value associated with “IDataUtil.COMPARE_TYPE_TIMEs”.