Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.8.0
-
None
Description
This is a follow up of HADOOP-12472.
It makes sense to make the following static fields package private instead of protected, as they are for test purpose and TestGenericTestUtils is in the same package as GenericTestUtils.
- protected static String E_NULL_THROWABLE = "Null Throwable";
- protected static String E_NULL_THROWABLE_STRING = "Null Throwable.toString() value";
- protected static String E_UNEXPECTED_EXCEPTION = "but got unexpected exception";
Meanwhile, we may need to make them final.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-12472 Make GenericTestUtils.assertExceptionContains robust
- Resolved