Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
The TestUtils.readDMLMatrixFromHDFS() and TestUtils.readRMatrixFromFS() methods are deprecated.
The AutomatedTestBase.readDMLMatrixFromHDFS() method calls TestUtils.readDMLMatrixFromHDFS() and the AutomatedTestBase.readRMatrixFromFS() method calls TestUtils.readRMatrixFromFS(). The AutomatedTestBase methods are annotated with @SuppressWarnings("deprecation").
Rather than have suppressed-deprecation-warning methods call their equivalent deprecated methods, we have other options:
1) Don't deprecate the TestUtils methods. If AutomatedTestBase methods should be used, explain reasoning in the Javadoc comments.
2) Remove deprecated methods from TestUtils and replace them with 'good' versions of these methods in TestUtils or move the functionality to where it is intended.