Sebastian Bazley
c1f9320476
LANG-855 NumberUtils#createBigInteger does not allow for hex and octal numbers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1408524 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 00:59:22 +00:00
Sebastian Bazley
d2bea5ffd3
Add tests to show magnitude boundary between Float, Double and BigDecimal
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1408359 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 17:13:37 +00:00
Sebastian Bazley
cbb9aed860
Wrong order of testing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1408324 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 15:31:45 +00:00
Gary D. Gregory
8df49927b1
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1408273 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 13:04:33 +00:00
Sebastian Bazley
350cf8c2da
LANG-822: NumberUtils#createNumber - bad behaviour for leading "--"
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407973 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 13:16:22 +00:00
Sebastian Bazley
a7b467a74c
Document return value with null input
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407967 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 13:00:08 +00:00
Gary D. Gregory
e4939f079a
[LANG-853] StringUtils join APIs for primitives.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407899 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 23:30:43 +00:00
Gary D. Gregory
c3ba1f83b9
Remove whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407878 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 20:36:56 +00:00
Chas Honton
343886c1c4
LANG-582 - minutes missing from test format
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407715 13f79535-47bb-0310-9956-ffa450edef68
2012-11-10 01:58:07 +00:00
Matthew Jason Benson
8a946932c8
explain whitespace pattern
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407537 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 16:50:39 +00:00
Matthew Jason Benson
fa4ed70023
restrict whitespace pattern to ignore 'blocks' of whitespace consisting of only a single space
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407536 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 16:45:37 +00:00
Matthew Jason Benson
1ea6e4471c
StrBuilder implements Builder; provide toStringBuilder as toStringBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407534 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 16:42:18 +00:00
Matthew Jason Benson
fd5af17932
support varargs in StrBuilder.appendAll(); also convert iterable form of method to use enhanced for loop
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407525 13f79535-47bb-0310-9956-ffa450edef68
2012-11-09 16:26:44 +00:00
Gary D. Gregory
16774d1c0d
[LANG-701] StringUtils join with var args. Add and use SPACE string constant for " ".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407148 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 16:08:23 +00:00
Gary D. Gregory
f416eb209c
Rename private WHITESPACE_BLOCK to WHITESPACE_PATTERN.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1407141 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 15:54:25 +00:00
Gary D. Gregory
8fc7c1fe06
Refactor some duplicate code.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1406122 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 13:12:12 +00:00
Gary D. Gregory
4cdb63d6c0
[LANG-849] FastDateFormat and FastDatePrinter generates Date objects wastefully.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1406027 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 01:59:50 +00:00
Gary D. Gregory
310edf6439
[LANG-849] FastDateFormat generates Date objects wastefully.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1406026 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 01:58:29 +00:00
Gary D. Gregory
641aa249c3
[LANG-845] Spelling fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1401523 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 00:50:52 +00:00
Gary D. Gregory
f7a8fa91ea
[LANG-841] Add StringUtils API to call String.replaceAll in DOTALL a.k.a. single-line mode.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1396375 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 22:07:08 +00:00
Thomas Neidhart
22d050b781
[LANG-844] Fix javadoc of StringUtils.center methods, thanks to John Lindwall.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1396313 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 20:58:50 +00:00
Sebastian Bazley
307c280caf
Fail if BitSet not faster overall
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1396215 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 19:28:59 +00:00
Sebastian Bazley
8bbf8a9e2f
LANG-839 ArrayUtils removeElements methods use unnecessary HashSet
...
Eliminate conversion of BitSet to int[]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1396075 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 15:37:05 +00:00
Sebastian Bazley
49685a4156
Add test for FreeBSD
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1395965 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 11:02:02 +00:00
Sebastian Bazley
f381f00df8
Show what we could not test
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1395961 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 10:52:27 +00:00
Sebastian Bazley
43a2736e22
LANG-839 Add tests to compare extractIndices+removeAll with direct use of BitSet in new version of removeAll
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1395943 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 10:28:08 +00:00
Sebastian Bazley
17910d3cc7
LANG-839 ArrayUtils removeElements methods use unnecessary HashSet
...
Replace HashSet with BitSet (less memory; faster)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1395837 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 01:26:13 +00:00
Sebastian Bazley
ec242df460
LANG-839 ArrayUtils removeElements methods use unnecessary HashSet
...
Add benchmark test to show whether Bitset is faster
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1395834 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 01:15:20 +00:00
Sebastian Bazley
73a89b07dc
Check empty arrrays handled OK
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1394318 13f79535-47bb-0310-9956-ffa450edef68
2012-10-04 22:55:43 +00:00
Joerg Schaible
ff5b829efd
Use term "binary" instead of "boolArray" in Conversion. Improve Javadoc of class.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1393800 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 22:30:51 +00:00
Joerg Schaible
016c0e5858
Improve and fix javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1393797 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 22:21:09 +00:00
Joerg Schaible
0b748abd18
Use better method names. Document possible ArrayIndexOutOfBoundsException and StringIndexOutOfBoundsException.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1393792 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 22:05:11 +00:00
Joerg Schaible
ca9cbf976e
Code clean-up for CheckStyle.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1393626 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 17:17:40 +00:00
Joerg Schaible
28476afb7d
LANG-778: Add to Conversion from byte[] to UUID and UUID to byte[]
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1393614 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 17:00:08 +00:00
Joerg Schaible
46448a690c
Simplify expressions again.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1393539 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 15:26:13 +00:00
Joerg Schaible
bb7462c8b5
Document exceptions. Use IllegalArgumentException instead of assert. Throw IllegalArgumentException for empty arrays.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1393425 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 11:25:51 +00:00
Joerg Schaible
216411597d
Use lowercase presentation for hex values as it is done in the JDK.
...
Use JDK functionality where available.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1393073 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 18:12:53 +00:00
Sebastian Bazley
f01111b634
Add some code comments
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391783 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 11:28:57 +00:00
Sebastian Bazley
86226bb499
There are only two distinct boolean values
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391701 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 23:59:55 +00:00
Sebastian Bazley
2be663db75
LANG-838 ArrayUtils removeElements methods clone temporary index arrays unnecessarily
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391695 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 23:30:31 +00:00
Joerg Schaible
6545db8bb7
Revert 1391258 by veto of Sebb.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391571 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 17:40:16 +00:00
Joerg Schaible
413a98eb21
Use conversion tables for boolean arrays.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391258 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 22:53:46 +00:00
Joerg Schaible
560bde10c7
"import java.lang.*" is always implicit.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391246 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 22:35:09 +00:00
Sebastian Bazley
91b9a3de99
Document sync. strategy
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391242 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 22:30:08 +00:00
Joerg Schaible
38fea7d456
Avoid unnecessary conversions.
...
Use StringBuilder instead of StringBuffer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391237 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 22:10:55 +00:00
Joerg Schaible
3de2a0c914
Implement test TODO.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391233 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 21:52:05 +00:00
Joerg Schaible
342a9184a9
JUnit 3 --> JUnit 4
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391222 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 21:08:54 +00:00
Sebastian Bazley
c62d888e94
Use JUnit4 methods where possible
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391216 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 21:00:02 +00:00
Sebastian Bazley
0ee336a58f
Convert to JUNit4
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391199 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 20:24:35 +00:00
Sebastian Bazley
82f04621a4
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391195 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 20:10:33 +00:00
Sebastian Bazley
2abc129650
Convert Strategy to abstract class; simplifies the subclasses
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391187 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 19:41:33 +00:00
Joerg Schaible
1000d1a1bd
LANG-801: Add Conversion utility to convert between data types on byte level
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391148 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 18:09:08 +00:00
Sebastian Bazley
7c7c9447f6
Add test for StringBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391116 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 17:27:29 +00:00
Sebastian Bazley
b5c79770db
Add comment
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391113 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 17:22:50 +00:00
Sebastian Bazley
89c6497228
StringBuffer => StringBuilder where being used as a local-only buffer
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391112 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 17:21:12 +00:00
Sebastian Bazley
3ab8e13026
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391095 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 16:46:50 +00:00
Sebastian Bazley
acb89828f1
Javadoc typos
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391048 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 15:02:09 +00:00
Sebastian Bazley
a0148b0e20
Explicit boxing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391027 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 14:20:10 +00:00
Sebastian Bazley
f9837a0728
Suppress boxing warnings for assertEquals()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391025 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 14:18:55 +00:00
Sebastian Bazley
cc730589cd
Document some @SuppressWarning annotations
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1391003 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 13:34:33 +00:00
Sebastian Bazley
76833dc4a4
Explicit boxing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390993 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 13:16:30 +00:00
Sebastian Bazley
f068cb71b5
Tab police
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390989 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 13:12:09 +00:00
Sebastian Bazley
0490f1c291
LANG-820 TypeUtils.normalizeUpperBounds broken?
...
Added test to show it works OK
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390984 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 13:01:57 +00:00
Sebastian Bazley
04babff379
LANG-818 FastDateFormat's "z" pattern does not respect timezone of Calendar instances passed to format()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390980 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 12:56:19 +00:00
Sebastian Bazley
cfab1e4fa1
LANG-815 DurationFormatUtils.formatPeriod() mis-calculation
...
Add test case to show there is no issue
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390971 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 12:46:42 +00:00
Sebastian Bazley
77eed078c8
LANG-777 jar contains velocity template of release notes
...
Merge releases notes into standard location
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390966 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 12:32:45 +00:00
Sebastian Bazley
586e0b1c8a
Copy of Commons Parent version; generates same output
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390962 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 12:21:51 +00:00
Sebastian Bazley
6ecb0a30c3
LANG-830 FastDateParser could use \Q \E to quote regexes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390954 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 11:50:52 +00:00
Sebastian Bazley
e5ae84a6fc
LANG-829 FastDateParser could use Calendar.getDisplayNames for all text fields
...
Remove unnecessary KeyValue instances
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390937 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 10:59:30 +00:00
Chas Honton
8c87749695
LANG-829: FastDateParser could use Calendar.getDisplayNames for all text fields
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390839 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 04:50:21 +00:00
Sebastian Bazley
9960dd4204
Add some more tests
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390816 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 03:04:49 +00:00
Sebastian Bazley
67914b1475
Add some more tests
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390815 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 02:46:55 +00:00
Sebastian Bazley
9dabaeeb96
Show where the parsing failed
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390814 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 02:33:01 +00:00
Sebastian Bazley
f899c178b7
Don't save short eras if they are the same as the long eras
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390811 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 02:18:18 +00:00
Sebastian Bazley
65a6458eaa
LANG-832 FastDateParser does not handle unterminated quotes correctly
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390795 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 00:55:31 +00:00
Sebastian Bazley
ad72b9f2bf
LANG-831 FastDateParser does not handle white-space properly
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390779 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 00:09:15 +00:00
Sebastian Bazley
192b1e1b6b
Allow access to parsedPattern for test purposes
...
Make ParseException text similar to that thrown by SimpleDateFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390778 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 00:02:58 +00:00
Sebastian Bazley
c03f033c1c
Trailing spaces
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390722 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 20:44:16 +00:00
Sebastian Bazley
de3d06ff01
Package protection is sufficient here
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390656 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 18:43:40 +00:00
Sebastian Bazley
e568101617
Wrong class name; make line stand out better
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390650 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 18:37:31 +00:00
Sebastian Bazley
d7af943548
LANG-828 FastDateParser does not handle non-Gregorian calendars properly
...
Use Calendar#getDisplayNames() instead of DateFormatSymbols#getEras()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390626 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 18:03:24 +00:00
Sebastian Bazley
e582456625
LANG-828 FastDateParser does not handle non-Gregorian calendars properly
...
Fix bug in Java 7 (Locale.toString() format has changed)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390189 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 22:12:14 +00:00
Sebastian Bazley
73ea9c43c6
Extract constant
...
Label output with test case name
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390172 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 21:46:34 +00:00
Sebastian Bazley
eedd1169bf
Label output with test case name
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390171 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 21:46:11 +00:00
Sebastian Bazley
3e47c0599e
Remove unused field
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390158 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 21:31:41 +00:00
Sebastian Bazley
6ac6f2c870
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390157 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 21:30:27 +00:00
Sebastian Bazley
005f41f136
One reason why the ja_JP_JP and th_TH_* locales don't work
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1390143 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 21:11:34 +00:00
Sebastian Bazley
34beef1d08
LANG-828 FastDateParser does not handle non-Gregorian calendars properly
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389976 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 16:32:20 +00:00
Sebastian Bazley
5ffcb8d35b
getInstance() (Java 1.6) supports more locales
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389939 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 15:41:57 +00:00
Sebastian Bazley
6d06d0a1c0
Fix testParses() so it works for non-GMT timezones: the format must include hours to allow for GMT-offsets
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389869 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 14:07:47 +00:00
Sebastian Bazley
f67add0e72
Grammar
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389682 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 02:03:24 +00:00
Sebastian Bazley
f621ea87cc
Document why tests seem to fail
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389681 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 02:02:21 +00:00
Sebastian Bazley
62d5c0eecb
LANG-826 FastDateParser does not handle non-ASCII digits correctly
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389673 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 01:07:01 +00:00
Sebastian Bazley
bb8164bb2c
Make immutable private variable final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389670 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 01:01:50 +00:00
Sebastian Bazley
0120e9264d
More tests; era seems to cause issues, so check this separately
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389667 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 00:51:11 +00:00
Sebastian Bazley
246ecda5e2
Split test into 4 so each failure can be detected
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389484 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 17:01:47 +00:00
Sebastian Bazley
a81da42d90
LANG-799 - DateUtils#parseDate uses default locale; add Locale support
...
Remove inappropriate test - we don't use localized formats
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389172 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 00:11:23 +00:00
Gary D. Gregory
01ee7028e6
[LANG-825] Create StrBuilder APIs similar to String.format(String, Object...)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1389042 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 13:01:27 +00:00
Sebastian Bazley
72b9613ddb
LANG-799 - DateUtils#parseDate uses default locale; add Locale support
...
Show current default locale
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388824 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 16:07:55 +00:00
Sebastian Bazley
12a0e3bdde
LANG-799 - DateUtils#parseDate uses default locale; add Locale support
...
Parse German date with English Locale, specifying German Locale override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388821 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 15:36:31 +00:00
Sebastian Bazley
79c627478f
LANG-799 - DateUtils#parseDate uses default locale; add Locale support
...
Remove unnecessary test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388818 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 15:27:40 +00:00
Sebastian Bazley
ebdef1b957
LANG-799 - DateUtils#parseDate uses default locale; add Locale support
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388806 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 13:22:30 +00:00
Sebastian Bazley
b219a449bb
LANG-799 Add tests to show ParseException when default Locale is wrong
...
Add Strictly tests for valid strings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388793 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 12:41:16 +00:00
Sebastian Bazley
37fd0adafb
LANG-799 Add tests to show ParseException when default Locale is wrong
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388787 13f79535-47bb-0310-9956-ffa450edef68
2012-09-22 12:33:25 +00:00
Sebastian Bazley
247cf8c4dc
JUnit4 allows use of expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388108 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:36:57 +00:00
Sebastian Bazley
f25a596ae9
Override of sync. method needs to be sync.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388090 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:02:23 +00:00
Sebastian Bazley
59702fcddc
Fix hashCode() - t is not part of equals() check
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388088 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:59:13 +00:00
Sebastian Bazley
c96a705446
Implement missing hashCode() methods
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388070 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:23:20 +00:00
Sebastian Bazley
5cf4263368
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388060 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:08:28 +00:00
Sebastian Bazley
d7e8948727
Suppress deprecation warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388058 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:03:39 +00:00
Sebastian Bazley
20295a04b9
Explicit conversion to Integer; save the value for use later
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388052 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 14:51:18 +00:00
Sebastian Bazley
7be7d80dfe
Document intentional drop-thru
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1388049 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 14:43:19 +00:00
Sebastian Bazley
bf57689e44
Simplify boolean tests and avoid boxing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1387426 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 01:41:27 +00:00
Sebastian Bazley
abecd96359
Simplify boolean tests and avoid boxing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1387424 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 01:29:22 +00:00
Sebastian Bazley
ca1dc33048
Simplify boolean tests and avoid boxing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1387423 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 01:08:04 +00:00
Sebastian Bazley
8cb5f67c58
Now we are using JUnit4, can use expected=throwable.class for simple failure checks
...
Note: not suitable for cases where an earlier statement can generate the same exception.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1387417 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 00:31:53 +00:00
Matthew Jason Benson
77d33a665a
[LANG-824] Conversion of 3.x JUnit tests to 4.x; thanks to Duncan Jones
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1387361 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 21:07:42 +00:00
Sebastian Bazley
32b71d0913
LANG-810 StringUtils.join() endIndex, bugged for loop
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1384145 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 21:52:58 +00:00
Sebastian Bazley
c7adc7e86f
LANG-747 NumberUtils does not handle Long Hex numbers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1384126 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 21:10:18 +00:00
Sebastian Bazley
2c6fa89aa4
Add some more BigDecimal tests
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1384124 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 21:03:18 +00:00
Matthew Jason Benson
4070a08100
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1384030 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 16:40:49 +00:00
Sebastian Bazley
39f1521db3
Unnecessary ;
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1381832 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:54:28 +00:00
Sebastian Bazley
c253255984
Exceptions not thrown
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1381831 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:49:38 +00:00
Sebastian Bazley
b474de41d2
Unnecessary SuppressWarnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1381830 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:48:05 +00:00
Sebastian Bazley
da0e6d77f8
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1381829 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:46:59 +00:00
Sebastian Bazley
c05a57eef2
Update Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1381827 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:43:48 +00:00
Sebastian Bazley
dbbbb4230f
Add tests for leading signs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1381826 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:43:01 +00:00
Gary D. Gregory
e2c6ef476d
[LANG-817] Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1380679 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 15:10:52 +00:00
Julius Davies
c7ef0b7eb7
LANG-816 - followup incorporating ggregory's doc suggestion, some doc fixes, addition of CONST_BYTE() and CONST_SHORT(), and Junit improvements to test doc examples and make sure CONST_BYTE() and CONST_SHORT() throw IllegalArgumentException as required.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1376829 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 05:24:35 +00:00
Julius Davies
93148a8e5e
[LANG-816] introduce CONST() methods to prevent Javac from inlining constants
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1376505 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 14:28:14 +00:00
Matthew Jason Benson
c63041d06c
[LANG-814] ConstructorUtils.invoke*(*, Object... args) variants cannot handle null values
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1369116 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 17:43:33 +00:00
Matthew Jason Benson
49b63810c0
[LANG-814] MethodUtils.invoke*(*, Object... args) variants cannot handle null values
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1369102 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 17:17:18 +00:00
Sebastian Bazley
4ae84a33c0
LANG-813 StringUtils.equalsIgnoreCase doesn't check string reference equality
...
Also check lengths.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1361462 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 00:53:36 +00:00
Matthew Jason Benson
feb980a639
[LANG-812] Permit bitvector generation for Enums with > 64 values; plus some test corrections
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1361376 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 20:14:14 +00:00
Matthew Jason Benson
e1a26f355e
[LANG-753] Document v3.x changes to Validate API
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1354616 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 16:27:55 +00:00
Sebastian Bazley
4a65cb8da2
LANG-807 RandomStringUtils throws confusing IAE when end <= start
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1348583 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 12:40:48 +00:00
Sebastian Bazley
27bcbcc728
LANG-805 RandomStringUtils.random(count, 0, 0, false, false, universe, random) always throws java.lang.ArrayIndexOutOfBoundsException
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1348422 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 14:58:34 +00:00
Sebastian Bazley
1971d3ed8b
Simplify test case
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1348417 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 14:40:59 +00:00
Sebastian Bazley
94c5cbb462
Simplify tests by using @Test(expected)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1344491 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 22:48:11 +00:00
Sebastian Bazley
1ee65910e3
Easier to find entries in the Eclipse outline view if the id is placed first
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1342655 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 14:47:45 +00:00
Sebastian Bazley
4c2e69797f
LANG-802 - LocaleUtils - unnecessary recursive call in SyncAvoid class
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1342651 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 14:39:38 +00:00
Sebastian Bazley
0aa4135a78
Update to CP25; use default changes config from CP
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1342642 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 14:37:16 +00:00
Sebastian Bazley
c3c6f98e56
LANG-511 Make private immutable fields final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1342558 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 10:13:52 +00:00
Gary D. Gregory
5384a20c28
[LANG-798] Use generics in SerializationUtils.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329691 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:56:31 +00:00
Gary D. Gregory
efaa822f61
Convert to JUnit 4.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329689 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:55:35 +00:00
Gary D. Gregory
575965b1ba
[LANG-800] Javadoc bug in DateUtils#ceiling for Calendar and Object versions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329687 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:52:56 +00:00
Gary D. Gregory
d79d88439e
Use the active voice in Javadoc comments for the first sentence.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329681 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:48:59 +00:00
Gary D. Gregory
b27adc2584
Fix Javadoc typos.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1329678 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:42:44 +00:00
Gary D. Gregory
4071b34f98
Add comments for [LANG-798] Use generics in SerializationUtils.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1310584 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 20:57:05 +00:00
Gary D. Gregory
e4794cddf8
Add comments for [LANG-798] Use generics in SerializationUtils.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1310566 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 20:03:55 +00:00
Gary D. Gregory
e4fe677d6a
Remove incomplete Javadoc tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309988 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 18:20:09 +00:00
Gary D. Gregory
b889c1667f
Interface members are implicitly public.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309987 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 18:19:44 +00:00
Gary D. Gregory
f177e2277d
Use @see tag.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309983 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 18:17:59 +00:00
Gary D. Gregory
b819343483
Add missing @Override.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309977 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 17:53:39 +00:00
Gary D. Gregory
8c29c67486
[LANG-798] Use generics in SerializationUtils
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309920 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 16:09:37 +00:00
Gary D. Gregory
806e256fed
Do not import *
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309912 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 15:53:18 +00:00
Gary D. Gregory
d551d98b2b
Do not import *
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309911 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 15:53:07 +00:00
Gary D. Gregory
d492294b33
Do not import *
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1309910 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 15:52:43 +00:00
Henri Yandell
f1ba9c252d
Applying Benedikt Ritter's patch to fix the Checkstyle error in SerializationUtils - LANG-793
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1301321 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 03:11:36 +00:00
Matthew Jason Benson
e9d6891549
add TODOs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1301150 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 19:00:56 +00:00
Henri Yandell
a0de414979
Adding javadoc note concerning LANG-755 and the bug in java.util.Calendar.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1299560 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 04:37:38 +00:00
Gary D. Gregory
c10bb4d052
Organize imports.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1299413 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 17:57:40 +00:00
Gary D. Gregory
204346f754
Eat own dog food: StringUtils#isEmpty(String) and replace some but not all String#length() == 0 with String#isEmpty()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1299411 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 17:55:29 +00:00
Sebastian Bazley
85848c25a9
Documentation
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1298506 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 18:50:52 +00:00
Sebastian Bazley
fdb8044745
All tests should leave the registry empty
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1298502 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 18:46:34 +00:00
Sebastian Bazley
2a691eb9b1
Fix test failures by clearing out the registry for tests that try
...
to show that the registry is left clean.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1298262 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 02:41:24 +00:00
Sebastian Bazley
42e974c43c
Trying to find cause of Gump (and other) failures
...
Ensure that registry starts out empty
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1297125 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 16:50:02 +00:00
Sebastian Bazley
8c4baca0e2
Ensure fail message gives reason
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1297019 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 12:06:27 +00:00
Henri Yandell
b24330cd37
Simplifying the unaccent code to no longer support Java 5
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1296774 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 09:45:21 +00:00
Gary D. Gregory
840d5cf4f2
Fix Javdoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295208 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 18:37:38 +00:00
Gary D. Gregory
9260ac9efa
Apply fix suggested by Benedikt Ritter on the ML: "The problem is, that there is no method with name "getTimeZoneOverridesCalendar()" in DateParser, so that link can't be resolved (I think you already knew that :).
...
I suppose the comment is meant to refer to getTimeZone() in java.util.Calendar. If so, you can fix that by changing the link to: {@link java.util.Calendar#getTimeZone()}"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295173 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 16:17:26 +00:00
Gary D. Gregory
e9429c05e1
[LANG-788] SerializationUtils throws ClassNotFoundException when cloning primitive classes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295134 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:39:01 +00:00
Gary D. Gregory
81797ed440
Fix Javdoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:24:56 +00:00
Gary D. Gregory
8183099c0e
Fix Javdoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1295126 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:23:59 +00:00
Sebastian Bazley
5715f15e32
getInstance(locale) is Java 1.6+
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1293615 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 14:20:20 +00:00
Henri Yandell
58d279ce5e
Applying Felix Müller's patch from LANG-462 to fix a timezone assumption in a test and remove Java 6 interface implementation @Override statements
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1290976 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 09:26:06 +00:00
Matthew Jason Benson
9d9a50eef1
test same prefix/suffix
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1243121 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 18:57:19 +00:00
Henri Yandell
879ed35251
Adding 462 and 786 to the change history
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1236057 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 07:22:54 +00:00
Henri Yandell
cc340ad2eb
Applying Chas Honton's implementation of DateParser and subsequent integration into FastDateFormat and the time package. See LANG-462.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1236055 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 07:00:26 +00:00
Matthew Jason Benson
dfa6882a3b
[LANG-786] StringUtils equals() relies on undefined behavior; thanks to Daniel Trebbien
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1234915 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 17:47:21 +00:00
Henri Yandell
a315706734
Adding the issues in 3.2 to changes.xml
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225140 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 07:55:42 +00:00
Henri Yandell
24b91fba82
Fixing the DateIterator javadoc to indicate the end date is inclusive, not 'not inclusive'
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225117 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 07:05:24 +00:00
Henri Yandell
1c8d3e6011
Making StrBuilder Serializable per LANG-764
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225111 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 06:33:21 +00:00
Henri Yandell
d486ed9323
Dropping the serialVersionUID from EventListenerSupport per LANG-765
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225109 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 06:27:47 +00:00
Henri Yandell
bec8377596
Fixing the StringUtils.split javadoc per Samurel Tardieu in LANG-783
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1225104 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 05:58:31 +00:00
Sebastian Bazley
cf6c0e72ba
Fix various boxing errors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1206700 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 11:39:35 +00:00
Sebastian Bazley
a5420133ac
Suppress "already instanceof" warning because that is what we want to check
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1206697 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 11:05:57 +00:00
Henri Yandell
b4011cf021
Adding Henning's GitHub pull request with a Triple implementation. LANG-675
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1205734 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 06:20:59 +00:00
Sebastian Bazley
7b56dd17b7
Ensure version does not get out of date
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1204994 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 13:53:22 +00:00
Matthew Jason Benson
c71d0f03da
[LANG-775] [LANG-776] fix related bugs dealing with type variable inheritance
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1203429 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 23:59:36 +00:00
Matthew Jason Benson
e6a1d017b1
[LANG-775] add failing test
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1203427 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 23:58:31 +00:00
Matthew Jason Benson
d487814aba
[LANG-776] reverse bad assertion to make failing test
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1203426 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 23:56:21 +00:00
Matthew Jason Benson
679090a612
original tests contained one message WRONG which seems to indicate a problem area in the code; elaborating message
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1203312 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 18:26:55 +00:00
Sebastian Bazley
3bb1629e97
Add Commons LANG 2.6 downloads
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202753 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 15:59:07 +00:00
Gary D. Gregory
c3aef5c3d2
Fix typos: threadsafe -> thread-safe
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202710 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 13:50:36 +00:00
Sebastian Bazley
d534206f65
LANG-773 ImmutablePair doc contains nonsense text
...
Clarify comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202706 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 13:44:05 +00:00
Sebastian Bazley
7b7965bf46
LANG-772 ClassUtils.PACKAGE_SEPARATOR javadoc contains garbage text
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202521 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 03:14:26 +00:00
Henri Yandell
4f0e19fc5f
Remove version # from LHS nav
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202369 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 18:40:52 +00:00
Henri Yandell
1887ccff5c
Adding 3.1
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202288 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 16:37:29 +00:00
Henri Yandell
db02269fe1
Setting release date for 3.1
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1202079 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 07:35:50 +00:00