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 |
Gary D. Gregory
|
8c478f2f9b
|
- Update commons-io for tests to 2.4 from 2.2.
- Update findbugs-maven-plugin to 2.5.2 from 2.4.
- Update clirr-maven-plugin to 2.4 from 2.3.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1376935 13f79535-47bb-0310-9956-ffa450edef68
|
2012-08-24 14:21:54 +00:00 |
Gary D. Gregory
|
c3c36a5171
|
Update to Commons-Parent 26.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1376927 13f79535-47bb-0310-9956-ffa450edef68
|
2012-08-24 14:14:02 +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 |