Commit Graph

4846 Commits

Author SHA1 Message Date
mildis 8d95ae4197 LANG-1258: Add ArrayUtils#toStringArray(Object[]) method
patch supplied by IG
2016-11-13 16:59:56 +01:00
pascalschumacher 05647d46e9 LANG-1281: Javadoc of StringUtils.ordinalIndexOf is contradictory (closes #205) 2016-11-06 12:19:54 +01:00
pascalschumacher ea666d5230 LANG-1274: StrSubstitutor should state its thread safety (closes #207)
Add paragraph to class javadoc stating that StrSubstitutor is not thread safe.
2016-11-06 12:15:01 +01:00
pascalschumacher ff4497aff8 LANG-1155: Add StringUtils#unwrap
add more examples and tests

fix formatting

add changes.xml entry
2016-10-31 20:03:40 +01:00
MSaifAsif d79e43216f LANG-1155: Add StringUtils#unwrap (closes #107, closes #136) 2016-10-31 20:02:38 +01:00
pascalschumacher a069c490e8 LANG-1143: StringUtils should use toXxxxCase(int) rather than toXxxxCase(char) (closes #201)
based on patch by Sebb
2016-10-31 13:29:36 +01:00
pascalschumacher 2dd459003e LANG-1279: Update Java requirement from Java 6 to 7
SystemUtilsTest: remove code run only on java 6
2016-10-28 22:14:46 +02:00
Bruno P. Kinoshita c37a911d3a LANG-1160: StringUtils#abbreviate should support 'custom ellipses' parameter (closes #195) 2016-10-28 19:33:47 +02:00
pascalschumacher a40b2a907a LANG-1269: Wrong name or result of StringUtils#getJaroWinklerDistance (closes #198)
deprecate StringUtils#getJaroWinklerDistance and add StringUtils#getJaroWinklerSimilarity instead
2016-10-28 19:19:22 +02:00
pascalschumacher 1e5c2b8779 fix typos in StrBuilder javadoc 2016-10-28 18:46:58 +02:00
pascalschumacher 1f73bbeb67 fix typos in Conversion javadoc 2016-10-28 18:46:37 +02:00
pascalschumacher 3f103f8c9b remove unnecessary @SuppressWarnings("unchecked") from ObjectUtilsTest#testMode 2016-10-28 18:40:01 +02:00
pascalschumacher 4733cb5b79 LANG-1279: Update Java requirement from Java 6 to 7
replace usage of deprecated ObjectUtils#hashCode with Objects#hashCode
2016-10-28 18:36:51 +02:00
pascalschumacher cfdc3f767c LANG-1279: Update Java requirement from Java 6 to 7
replace usage of deprecated ObjectUtils#equals with Objects#equals
2016-10-28 18:33:40 +02:00
pascalschumacher 9b481a9701 LANG-1279: Update Java requirement from Java 6 to 7
replace usage of deprecated ObjectUtils#toString with Objects#toString
2016-10-28 18:27:55 +02:00
pascalschumacher 61bc7f27b4 fix typo in ObjectUtils#toString javadoc 2016-10-28 18:18:09 +02:00
pascalschumacher eafeca4326 LANG-1144: Multiple calls of org.apache.commons.lang3.concurrent.LazyInitializer.initialize() are possible
use all uppercase name for constant
2016-10-25 00:40:48 +02:00
pascalschumacher 383bc8eefa LANG-1279: Update Java requirement from Java 6 to 7
use multi-catch in AnnotationUtils and ExceptionUtils
2016-10-23 22:40:07 +02:00
pascalschumacher f9cab271b3 LANG-1279: Update Java requirement from Java 6 to 7
use try with resources in SerializationUtils
2016-10-23 22:30:00 +02:00
pascalschumacher dc53e49b4a LANG-1144: Multiple calls of org.apache.commons.lang3.concurrent.LazyInitializer.initialize() are possible
minimal clean-up
2016-10-23 22:18:47 +02:00
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
pascalschumacher 89afbb0c3e LANG-1279: Update Java requirement from Java 6 to 7.
Remove jdk6 from travis configuration.
2016-10-23 20:06:22 +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