Commit Graph

4479 Commits

Author SHA1 Message Date
ggregory 3ff366c3db Javadoc: Fix typo but working is still awkward. 2015-06-27 14:44:36 -07:00
Benedikt Ritter 38e829fb39 Update to latest parent pom 2015-06-26 13:19:51 +02:00
oheger 80644cdab9 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-lang
Conflicts:
	src/changes/changes.xml
	src/main/java/org/apache/commons/lang3/text/StrLookup.java
2015-06-24 22:23:17 +02:00
oheger 305d5eb896 [LANG-1141] Updated changes.xml. 2015-06-24 22:17:35 +02:00
oheger 54e6300544 [LANG-1141] StrLookup for system properties now sees updated values.
The lookup implementation now directly accesses system properties without
caching the Properties object in any way.
2015-06-24 22:14:13 +02:00
Sebb 04b55bc7ca Use the proper constant 2015-06-13 00:56:07 +01:00
Sebb 06b7cd3a31 LANG-1147 EnumUtils *BitVector issue with more than 32 values Enum
This closes #97
2015-06-13 00:38:27 +01:00
Sebb 529964961f LANG-1059 Capitalize javadoc is incorrect 2015-06-12 18:06:46 +01:00
Sebb 78e2f4c122 LANG-1059 Capitalize javadoc is incorrect
Add test to show that first character is upcased, not the first
(alphabetic) letter that is found
2015-06-12 17:45:57 +01:00
Sebb 5f479e70cd LANG-1059 Capitalize javadoc is incorrect 2015-06-12 17:38:04 +01:00
Sebb 0822b4226f Split tests up according to methods tested 2015-06-12 13:47:11 +01:00
Sebb f37f4b68f3 Add some tests with other whitespace characters: tab and newline 2015-06-12 13:34:54 +01:00
Chas Honton 94faa31bcf refactor FastDateParser
use hashmap for performance
    break down regular expressions to per-format, allowing
ParsePosition to get set
    add parse with Calendar input, allowing client to set leniency
and/or replace display names
2015-06-11 20:07:13 -07:00
Sebb 612236c8a7 Show more info on failure 2015-06-07 14:08:35 +01:00
Sebb 756ccc935e Avoid raw type warning 2015-06-06 14:40:17 +01:00
Loic Guibert 3acffccf15 LANG-1139: Add null safe methods in StringUtils to replace by regular expression :
- StringUtils.replaceAll(String, String, String)
  - StringUtils.replaceFirst(String, String, String)
2015-05-28 16:20:14 +04:00
Benedikt Ritter 0343b4fda8 Format source code and remove spaces on empty lines 2015-05-19 21:38:52 +02:00
Gary Gregory ff3492b062 Add StringMatcher#toString(); useful from a debugger. 2015-05-18 20:26:54 -07:00
Benedikt Ritter f8669ed70a Fix source repository location in doap file and on front page 2015-05-18 09:13:03 +02:00
Benedikt Ritter 19dace1b8a Merge branch 'LANG-1137'
LANG-1137: Add check for duplicate event listener in EventListenerSupport.
Thanks to Metthew Aguirre.
2015-05-12 08:29:38 +02:00
Benedikt Ritter 4ccfde2b57 Add LANG-1137 to changes.xml 2015-05-12 08:29:21 +02:00
Benedikt Ritter 0611710c61 allowDuplicates will always be false at that point 2015-05-12 08:29:10 +02:00
Benedikt Ritter 5637a5204f Format source code 2015-05-12 08:26:25 +02:00
Matthew Aguirre a48071b0d4 Added new addListener() method that takes a boolean for if duplicates are allowed.
Added test method to make sure that duplicate listeners are not added.
2015-05-11 13:22:50 -04:00
Benedikt Ritter 61bec859ac Add since tag and reference to json.org to JsonToStringStyle.
This also closes #26 from github.
2015-05-11 19:17:43 +02:00
Chas Honton 71d7c32642 LANG-1133 FastDateParser_TimeZoneStrategyTest#testTimeZoneStrategyPattern fails on Windows with German Locale
reimplementing LANG-1107
2015-05-09 16:46:22 -07:00
Benedikt Ritter a9a73a7b2d Add release notes for 3.4 to release notes archive 2015-05-09 12:12:30 +02:00
Sebb f7a6722fba Version entries must be in separate release sections 2015-05-08 15:38:56 +01:00
Benedikt Ritter cfe63beeac Merge branch 'LANG-1127'
LANG-1127: Use JUnit rules to set and reset the default Locale and TimeZone.
2015-05-07 22:13:32 +02:00
Benedikt Ritter 9efa153e44 Update changes.xml for LANG-1127 2015-05-07 22:12:17 +02:00
Benedikt Ritter 9604c85306 Merge branch 'LANG-1135'
LANG-1135: Add method containsAllWords to WordUtils. Thanks to Eduardo Martins.
2015-05-07 21:28:25 +02:00
Benedikt Ritter 1182950a88 Add LANG-1135 to changes.xml 2015-05-07 21:26:59 +02:00
Benedikt Ritter d68f7f5f44 Write basic unit test for SystemDefaultsSwitch 2015-05-07 21:15:37 +02:00
Benedikt Ritter bcb33ec1c7 Rename SwitchDefaults to SystemDefaultsSwitch to better describe it's role 2015-05-07 20:57:12 +02:00
Benedikt Ritter 18b3437c15 Fix whitespaces and indentation 2015-05-07 20:49:52 +02:00
Benedikt Ritter dee94449e6 Merge branch 'LANG-1132'
LANG-1132: ReflectionToStringBuilder doesn't throw IllegalArgumentException when
the constructor's object param is null. Thanks to Jack Tan.
2015-05-07 20:44:47 +02:00
Benedikt Ritter d282015e73 Add LANG-1132 to changes.xml 2015-05-07 20:41:02 +02:00
Benedikt Ritter 0e96d84e23 Use contributor name from jira instead of github user name 2015-05-07 20:38:52 +02:00
Benedikt Ritter 13d7ce9fb6 Merge branch 'LANG-1122'
LANG-1122: Inconsistent behavior of swap for malformed inputs. Thanks
to Adrian Ber.
2015-05-07 20:31:49 +02:00
Benedikt Ritter 35096beed0 Add Adrian Ber to the list of contributors 2015-05-07 20:30:09 +02:00
Benedikt Ritter c885a32e24 Add LANG-1122 to changes.xml 2015-05-07 20:29:53 +02:00
Benedikt Ritter 48d142dc3b Merge branch 'remove_ThreadUtils_compiler_warnings'
Remove compiler warnings from ThreadUtils. Thanks to Pascal Schuhmacher.
2015-05-07 20:02:28 +02:00
Benedikt Ritter a2c09f81f4 Fix wrong JavaDoc parameter name 2015-05-07 19:45:30 +02:00
Benedikt Ritter a05233f994 Merge branch 'StringUtilsTest_compiler_warnings'
Remove compiler warnings of joinWith tests. Thanks to Pascal Schuhmacher.
2015-05-07 19:39:56 +02:00
Eduardo Martins 633ce60496 Always return false to contains a null word 2015-05-07 14:17:28 -03:00
Benedikt Ritter b14c6e7a54 Merge branch 'cleanup-threadutils-test' 2015-05-07 18:07:02 +02:00
Benedikt Ritter 6bb871786e Fix potential NPE by checking for object identity instead of comparing one property only 2015-05-07 18:06:48 +02:00
Benedikt Ritter 8ac3334a04 Use enhanced for loop instead of iterator based loop 2015-05-07 18:04:24 +02:00
Benedikt Ritter 14c2afcd63 Make doclint happy 2015-05-07 18:01:41 +02:00
Benedikt Ritter 507451866c Remove redundant qualifiers 2015-05-07 18:01:04 +02:00