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 |
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 |