Opened 12 years ago

Closed 12 years ago

#396 closed enhancement (fixed)

Clean up ArrayUtils and DataUtils and add tests

Reported by: Peter Powers Owned by:
Priority: minor Milestone:
Component: commons Version:
Keywords: Cc:

Description (last modified by Peter Powers)

This class has a several useful, but poorly documented and untested methods. It also has methods that are implemented in Guava Doubles and should be removed. Per Eric Martinez, methods in the ArrayUtils? class that are used by NSHMPRiskMapCalc were decompiled from USGSutil.jar for inclusion in the repository. During variable renaming, one or two errors were introduced.

DataUtil? and DataUtils? need consolidation or method relocation.

Change History (6)

comment:1 Changed 12 years ago by Peter Powers

Removed USGSutil.jar and migrated required decompiled classes in [8905]:

comment:2 Changed 12 years ago by Peter Powers

Description: modified (diff)
Summary: Clean up ArrayUtils and add testsClean up ArrayUtils and DataUtils and add tests

comment:3 Changed 12 years ago by Peter Powers

Added new double[] array operations classes to DataUtils? along with tests.
Relocated DataUtil? methods to DataUtils? and FileUtils?
Relocated ArrayUtils? methods to DataUtils?
Removed ArrayUtils? and DataUtil?

in [8905] to [8911]

comment:4 Changed 12 years ago by Peter Powers

Updated DataUtils?.validate() method to take vararg arrays in [8912]

comment:5 Changed 12 years ago by Peter Powers

added sequence building utilities in [8915]

comment:6 Changed 12 years ago by Peter Powers

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.