Bugzilla Bug 27877
[lang][patch] Make ClassUtils methods null-safe and not throw an IAE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27877
27 lines of code changed in:
PR: http://issues.apache.org/bugzilla/show_bug.cgi?id=27876
[lang] ReflectionToStringBuilder.toString(null) throws exception by design
ReflectionToStringBuilder.toString is now null-safe and returns the style's nullText.
ToStringBuilder constructors are now null-safe. A new ToStringBuilder on a null followed by a call to toString returns "".
28 lines of code changed in:
hooked in previous tag for jdiff reporting
5 lines of code changed in:
flipped from being hardcoded to GregorianCalendar to using getInstance. Cannot think of any reason why a GregorianCalendar was being created directly
4 lines of code changed in:
added newline to end of file
2 lines of code changed in:
fixed return type of getValue
2 lines of code changed in:
This adds an array-argument based version of primitiveToWrapper. Apart from the argument of not having array based versions for every method, I can't see any reason not to add it, so have patched, modified and committing.
The origonal version optimised by returning the passed in array if there were no primitives. This seems a bit magical.
PR: #27640
Submitted by: Alban Peignier
59 lines of code changed in:
rolled back the Mutable change. It doubled the size of a mutable instance, and as it wrapped another object, doubled the work for garbage collection
159 lines of code changed in:
simplified code by moving a chunk of the functionality up into the superclass, MutableNumber. Still important that setValue turns the Number into the correct type however, so that method may not go up into the superclass
74 lines of code changed in:
Adding initial crack at mutables.
817 lines of code changed in:
applied patch #27778, also added an indexOf(char[]..).
1243 lines of code changed in:
improved javadoc, and missing javadoc for new uncapitalize method added.
33 lines of code changed in:
and adding an overloaded method for uncapitalize to maintain symmetry
46 lines of code changed in:
added an overloaded method for capitalize and capitalizeFully so people can do things like capitalize double-barrelled names
106 lines of code changed in:
simplified the implementation of capitalizeFully
4 lines of code changed in:
Ensure Validate has no inter-lang dependencies
6 lines of code changed in:
Add more nested exception names
bug 29082, from Lars Beuster
5 lines of code changed in:
More names
6 lines of code changed in:
Add ObjectUtils.hashCode() - a null safe hash code
bug 28554, from Mario Winterer
65 lines of code changed in:
Fix since tag
4 lines of code changed in:
Include enums package tests
3 lines of code changed in:
Fix Enum equals to work correctly by reflection
bug 28180, from Matthias Eichel
99 lines of code changed in:
May 2004 »