Adding bugfixes and improvements from JIRA
22 lines of code changed in:
Rolling back r467482 as the methods are already in java.util.Arrays. These were added as a part of #LANG-238.
0 lines of code changed in:
Rolling back r490355 - StrBuilder implements Cloneable again
1 lines of code changed in:
LANG-301 - Document cloneReset()
1 lines of code changed in:
Fix javadoc link
2 lines of code changed in:
Avoid new Boolean() via BooleanUtils
3 lines of code changed in:
LANG-291 - Move min/max methods above inner class, add javadoc and format
45 lines of code changed in:
Improved #LANG-303 test to prove the formatting works on each side of the serializing
6 lines of code changed in:
Applying test for #LANG-303, and a fix.
19 lines of code changed in:
Removed some commented out reports; added a commented out findbugs report
1 lines of code changed in:
Starting on Lang 2.3 release notes
14 lines of code changed in:
StrBuilder no longer implements Cloneable. #LANG-302
1 lines of code changed in:
Rolling back r489734 - Boolean.valueOf(boolean) only available from JDK 1.4 onwards
3 lines of code changed in:
Applying test for LANG-304 and fix to LocaleUtils
8 lines of code changed in:
Fixed import. Also optimised list.toArray(..) to use new Token[list.size()] so that the passed in array is used and not reflection. Latter reported by FindBugs
3 lines of code changed in:
new Boolean -> Boolean.valueOf. (Reported by FindBugs)
1 lines of code changed in:
Removing the Serializable implements. As far as I can tell, Number has been serializable since at the least Java 1.2. (Reported by FindBugs)
1 lines of code changed in:
Added a test for the under a day range in formatPeriod
15 lines of code changed in:
More tests, more bugfixes (aka rewrite of the guts).
It's looking much better, the only edge case that throws it for a loop is if things start on the 29th of February in a year. I've hacked it in the day mode, but I'm not sure why I had to do that - however I trust the brute force test to be right in day mode.
In month mode, it's even trickier as to what the correct answer is. How many months between 29th Feb and 28th of Feb the next year? The answer is 11, or with days included it's 11 months and 28 days. I can't see any reason to define that better, so I'm declaring that law.
Things are weird if you start on Feb 29 :)
116 lines of code changed in:
Added new tests (failing) in comments. Improved output for debugging brute force tests.
6 lines of code changed in:
Updated comment
2 lines of code changed in:
Fixing LANG-300 (reported by Jeremy Lemaire) - 1L to 9L incorrectly throw exceptions when passed into NumberUtils.createNumber. Fixed in both the math.NumbersUtils and the deprecated NumberUtils classes.
8 lines of code changed in:
Let a few tab characters slip in - Eclipse wasn't configured yet. Replacing with spaces.
7 lines of code changed in:
More unit tests and bugfixes. The currently failing test is commented out, so more bugfixes to come.
90 lines of code changed in:
Applying a unit test for LANG-299 and the fix that Francisco Benavent suggests.
8 lines of code changed in:
Setting the maven repo - apologies if this borks anything
2 lines of code changed in:
More tests added to DurationFormatUtilsTest and discovered bugs fixed in the DurationFormatUtils.formatPeriod method.
45 lines of code changed in:
Added javadoc to explain the quandry in how to count month/day differences
16 lines of code changed in:
Match groupIds for m1 and m2. We should account for the fact that its relatively easier to deploy snaps with m2 (such as IO was last night) and we shouldn't spray component artifacts in two different places (without relocation).
1 lines of code changed in:
Missing props on various m2 poms.
0 lines of code changed in: