Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0
-
None
-
None
-
Operating System: other
Platform: Other
-
27877
Description
A number of ClassUtils methods that a designed to return Strings throw a new
IllegalArgumentException when the input arg is null. I would like to change
these methods to return "" (or null). The methods are:
String getShortClassName(Class cls)
String getShortClassName(String className)
String getPackageName(Class cls)
String getPackageName(String className)
Thoughts for or against?
Attachments
Attachments
Issue Links
- depends upon
-
LANG-79 [lang] ReflectionToStringBuilder.toString(null) throws exception by design
- Closed