pascalschumacher
96c8ea2fb3
add @SafeVarargs to some methods with vararg parameters to suppress "Type safety: Potential heap pollution via varargs parameter array" warnings
2016-10-23 22:09:43 +02:00
pascalschumacher
d6644e4fbe
LANG-1188: StringUtils#join(T...): warning: [unchecked] Possible heap pollution from parameterized vararg type T
...
fixed by adding @SafeVarargs
2016-10-23 21:59:11 +02:00
pascalschumacher
23108b1bd9
LANG-1279: Update Java requirement from Java 6 to 7
...
replace usage of deprecated ArrayUtils#isEquals with Objects#deepEquals
2016-10-23 20:25:45 +02:00
Gary Gregory
33884b2264
Add final modifier to local variables.
2016-10-23 10:59:32 -07:00
Gary Gregory
151f2cd3d8
Use try-with-resources.
2016-10-23 10:59:16 -07:00
Gary Gregory
eb2b89efbe
Add final modifier to local variables.
2016-10-23 10:55:56 -07:00
Gary Gregory
aadb9a31ed
Add final modifier to method parameters.
2016-10-23 10:55:14 -07:00
Gary Gregory
607e3447c9
Add final modifier to private fields.
2016-10-23 10:54:34 -07:00
Gary Gregory
4f82195afd
Remove redundant type arguments.
2016-10-23 10:52:50 -07:00
Gary Gregory
7e8df326f4
[LANG-1279] Update Java requirement from Java 6 to 7.
2016-10-23 10:48:40 -07:00
Gary Gregory
32ccabe3ba
Order entries by type.
2016-10-23 10:46:20 -07:00
Gary Gregory
8c5335e6c6
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-lang
2016-10-23 10:36:27 -07:00
Gary Gregory
e4c72a5522
[LANG-1144]
...
Multiple calls of
org.apache.commons.lang3.concurrent.LazyInitializer.initialize() are
possible.
2016-10-23 10:33:29 -07:00
pascalschumacher
a945ecbbdd
StringUtils#replacePattern: fix source code formatting
2016-10-23 19:30:38 +02:00
pascalschumacher
65ed41ff7a
LANG-1276: add changes.xml entry
2016-10-23 17:03:51 +02:00
Andy Klimczak
10325422e5
LANG-1276: StrBuilder#replaceAll ArrayIndexOutOfBoundsException ( closes #200 )
...
Avoid ArrayIndexOutOfBoundsException by keeping variable buf consistent with buffer in StrBuilder#replaceImpl.
2016-10-23 17:01:43 +02:00
pascalschumacher
e2dbe55d56
MethodUtils#invokeMethod(Object object, boolean forceAccess, String methodName, Object[] args, Class<?>[] parameterTypes): do not restore the accessibility of the method object, because Method#setAccessible only modifies the behavior of the AccessibleObject not of the actual method.
2016-10-22 16:49:12 +02:00
pascalschumacher
8274993e29
LANG-1216: NumberUtils#isNumber, NumberUtils#isCreateable should return true for "0.1"
...
add a test
2016-10-22 14:29:09 +02:00
pascalschumacher
8f9271399a
fix typo in NumberUtils#isCreatable and NumberUtils#isNumber javadoc
2016-10-22 14:28:44 +02:00
pascalschumacher
91d6bd74fa
LANG-1278: BooleanUtils javadoc issues
2016-10-21 21:07:10 +02:00
pascalschumacher
6423a76655
LANG-1277: StringUtils#getLevenshteinDistance reduce memory consumption
...
minimal clean-up
add changes.xml entry
2016-10-20 21:52:09 +02:00
yufcuy
103b64a373
LANG-1277: StringUtils#getLevenshteinDistance reduce memory consumption ( closes #189 )
2016-10-20 21:51:29 +02:00
pascalschumacher
3433a94e25
LANG-1271: correct type in changes.xml
2016-10-20 20:54:26 +02:00
pascalschumacher
4a32861c32
LANG-1070: ArrayUtils#add confusing example in javadoc
2016-10-20 20:48:42 +02:00
pascalschumacher
3b12d4fe5d
LANG-1271, LANG-1270: add changes.xml entries
2016-10-19 18:54:27 +02:00
Pierre Templier
38140a5d8d
LANG-1271: StringUtils#isAnyEmpty and #isAnyBlank should return false for an empty array ( closes #193 )
2016-10-19 18:54:14 +02:00
Pierre Templier
5acf310d08
LANG-1270: Add StringUtils#isAnyNotEmpty and #isAnyNotBlank ( closes #193 )
2016-10-19 18:53:35 +02:00
Benedikt Ritter
8592cfe496
Add section for next release to changes.xml
2016-10-19 09:36:41 +02:00
Rob Tompkins
9ca3e3e6c4
site: Nav, javadoc now says GIT latest as opposed to SVN latest
2016-10-17 10:30:58 -04:00
Benedikt Ritter
7316c8218d
Correct release date of 3.5 release in changes.xml
2016-10-17 11:20:44 +02:00
Benedikt Ritter
6d8b649451
Set release date to todays date
2016-10-13 21:01:06 +02:00
Benedikt Ritter
c5eb2bf5d3
Update documentation for release 3.5
2016-10-13 20:52:15 +02:00
Benedikt Ritter
16b1178764
Updated download page in preparation for 3.5 release.
2016-10-13 20:50:58 +02:00
oheger
78134f6b3f
[LANG-1275] Updated changes.xml.
2016-10-10 22:19:59 +02:00
oheger
809e2bed22
[LANG-1275] Added a tryAcquire() method to TimedSemaphore.
...
This method supports non-blocking use cases.
2016-10-08 16:47:10 +02:00
pascalschumacher
496506dedd
changes.xml: add meaningful description for LANG-1200
2016-10-02 18:23:42 +02:00
pascalschumacher
756b910603
changes.xml: correct entry type of LANG-1133
...
(side-effect: close #39 )
2016-10-02 17:58:54 +02:00
Benedikt Ritter
9177ddde8e
Add LANG-1273 to changes.xml
2016-10-02 14:28:28 +02:00
Benedikt Ritter
33bb9fe25b
Merge branch 'LANG-1255'
2016-10-02 12:28:09 +02:00
Benedikt Ritter
9209e235a5
Add LANG-1255 to changes.xml
2016-10-02 12:26:19 +02:00
Stian Soiland-Reyes
86a59601b5
Ensure UTF-8 file encoding
2016-09-27 10:19:32 +01:00
pascalschumacher
a041518197
CharEncoding: fix dead link in class javadoc
2016-09-25 21:00:46 +02:00
pascalschumacher
b10d58ece8
CharEncoding#isSupported fix dead link in javadoc
2016-09-25 21:00:46 +02:00
pascalschumacher
c6a410adf8
NumberUtilsTest#testLANG1252 fix spelling in comment
2016-09-25 21:00:46 +02:00
pascalschumacher
8232c096ce
SystemUtilsTest: remove code run only on java 1.5 and below
2016-09-25 21:00:46 +02:00
Benedikt Ritter
5f4249e2ec
Add test for SystemUtils.isJavaVersionAtLeast to make sure it works with Java 9 EA
2016-09-25 20:25:57 +02:00
pascalschumacher
10d2363fcd
CharEncodingTest: remove tests for java versions below 1.3.1
2016-09-25 20:21:01 +02:00
Kaiyuan Wang
8ac857c41e
Handle Comments
2016-09-25 13:13:03 -05:00
Benedikt Ritter
d0f6be9886
Fix test for IS_JAVA_XX constants.
...
The test would never check anything, since it tested against the
java.specification.name property, which has the value "Java Platform API
Specification"
2016-09-25 19:52:50 +02:00
Benedikt Ritter
8f362e7eab
Add LANG-1248 to changes.xml
2016-09-25 19:20:14 +02:00
Benedikt Ritter
a3b74d9c23
Merge branch 'LANG-1023'
2016-09-25 19:19:08 +02:00
Benedikt Ritter
2b36e25f66
Add LANG-1023 to changes.xml
2016-09-25 19:11:21 +02:00
Kaiyuan Wang
d9a2c69a9d
Handle Benedikt Ritter's comments
2016-09-24 10:01:41 -05:00
Benedikt Ritter
cac7a60abf
Merge branch 'LANG-787'
2016-09-24 12:19:35 +02:00
Benedikt Ritter
a27c02f809
Add LANG-787 to changes.xml
2016-09-24 12:18:40 +02:00
Kaiyuan Wang
ac5a216f76
Add unit tests for DateUtils.toCalendar(Date, TimeZone)
2016-09-20 23:59:04 -05:00
Kaiyuan Wang
1eecfc948b
Add DateUtils.toCalendar(Date, TimeZone)
2016-09-20 23:58:36 -05:00
marko-bekhta
8c99b8299d
LANG-1023
...
WordUtils.wrap: Customizable breakable characters (not just space/whitespace)
updated JavaDoc
2016-09-20 19:47:20 +02:00
marko-bekhta
78c373d7bc
LANG-1023
...
WordUtils.wrap: Customizable breakable characters (not just space/whitespace)
updated JavaDoc
2016-09-20 19:46:50 +02:00
Benedikt Ritter
db6f7c1d74
PMD: These nested if statements could be combined
2016-09-20 18:01:10 +02:00
Benedikt Ritter
31d02f6806
Correct JavaDoc @param tags
2016-09-20 17:55:42 +02:00
Benedikt Ritter
9c5b6cdc71
PMD: Remove useless parentheses
2016-09-19 13:56:11 +02:00
Benedikt Ritter
3421e6adb4
Remove unused private fields
2016-09-19 13:46:41 +02:00
Benedikt Ritter
d962a2b31c
Checkstyle: Convert tabs to spaces
2016-09-19 13:40:46 +02:00
Benedikt Ritter
d58d64ddb1
Checkstyle: Add missing curly braces
2016-09-19 13:39:49 +02:00
Benedikt Ritter
e6ad17215d
Add dependency tags to make it easier to copy past the dependency definition
2016-09-19 13:31:19 +02:00
Benedikt Ritter
0807eedad6
Make JavaDoc lint happy
2016-09-19 13:21:06 +02:00
Benedikt Ritter
09686fad46
Revert parts of LANG-1134 to polish the API after 3.5
2016-09-19 11:46:19 +02:00
Benedikt Ritter
64d820bffa
Gather issue related tests at the bottom
2016-09-19 10:46:52 +02:00
Benedikt Ritter
bdb074610c
LANG-1267: Add test showing that XXX does work when specifing formats
2016-09-19 10:45:58 +02:00
Benedikt Ritter
ff2672a578
Remove trailing white spaces
2016-09-19 09:03:10 +02:00
Sebb
feb7ba5512
Replace deprecated method call
2016-09-18 22:16:20 +01:00
Sebb
d529375167
Unused imports
2016-09-18 22:12:37 +01:00
Benedikt Ritter
42f2058c83
Add LANG-1261 to changes.xml
2016-09-18 18:01:43 +02:00
Benedikt Ritter
556d0fe10f
Add LANG-1261 to changes.xml
2016-09-18 18:01:02 +02:00
Benedikt Ritter
72bbbbc559
Remove unused constructor parameter
2016-09-17 18:17:11 +02:00
Benedikt Ritter
8eace0187e
Simplify boolean expression
2016-09-17 17:47:54 +02:00
Benedikt Ritter
49e8d539fb
Add description for release 3.5
2016-09-17 16:36:42 +02:00
Benedikt Ritter
ad1b72b7ec
Merge branch 'LANG-1197'
2016-09-17 16:35:23 +02:00
Benedikt Ritter
69da8cece0
Add LANG-1197 to changes.xml
2016-09-17 16:33:08 +02:00
pascalschumacher
b9f04d9be3
LANG-1197: Prepare Java 9 detection
2016-09-15 19:27:53 +02:00
Lady-Stardust
9c50627918
LANG-1134: New methods for lang3.Validate ( closes #190 )
...
Fixed method names; fixed differentObject to use Object.equals
2016-09-15 18:29:03 +02:00
Rob Tompkins
dad86bc0a2
Merge branch 'master' of github.com:apache/commons-lang into LANG-1252
2016-09-11 13:01:59 -04:00
Rob Tompkins
e64b51c70f
LANG-1252: adding @since and notes to changes.xml
2016-09-11 13:00:53 -04:00
Benedikt Ritter
05a6beba76
Sort JavaDoc tags
2016-09-11 17:17:16 +02:00
Benedikt Ritter
be21e8fc35
Sort JavaDoc tags
2016-09-11 17:10:38 +02:00
Benedikt Ritter
ae91ab56ac
Better JavaDoc formatting for fields in DateFormatUtils
2016-09-11 17:08:42 +02:00
Rob Tompkins
204ed0048f
LANG-1252: adding more isNumber Tests before full deletion of method
2016-09-11 11:02:01 -04:00
Benedikt Ritter
4ff5974c4a
Add missing @since tag to WordUtils.containsAllWords
2016-09-11 16:55:24 +02:00
Rob Tompkins
b3c31a379e
LANG-1252: replacing system call for java 1.6 to SystemUtils.IS_JAVA_1_6
2016-09-11 10:54:59 -04:00
Rob Tompkins
a266068798
LANG-1252: adding test for deprecated isNumber
2016-09-11 10:51:29 -04:00
Benedikt Ritter
ecf6de89ba
Add missing @since tags to StrSubstitutor
2016-09-11 16:07:25 +02:00
Benedikt Ritter
ab60f735c7
Fix whitespaces, add missing @since tag
2016-09-11 16:06:32 +02:00
Benedikt Ritter
d0049e1ac3
Add missing @since tags in the mutable package
2016-09-11 16:02:01 +02:00
Benedikt Ritter
d772e171d6
Sort JavaDoc tags
2016-09-11 15:55:40 +02:00
Benedikt Ritter
291eaf16bf
Add missing @since tag to new method in EventListenerSupport
2016-09-11 15:53:59 +02:00
Benedikt Ritter
a81791c093
Add missing @since tags to new annotations in the builder package
2016-09-11 15:51:50 +02:00
Benedikt Ritter
4388ded2d1
Revert "[LANG-1201] Add a TimeUnit-like classes for base 2 and base 10 digital"
...
This reverts commit a1cde6ab70
.
2016-09-11 15:47:33 +02:00
Benedikt Ritter
de125de49a
Add missing @since tags for new StringUtils methods
2016-09-11 15:33:01 +02:00
Benedikt Ritter
d4fe06de87
Add missing @sicne tag for RandomUtils.nextBoolean()
2016-09-11 15:31:26 +02:00