commons-lang.git
3 years agoPrepare 3.8.1 release LANG_3_8_1 LANG_3_8_1_RC1
Rob Tompkins [Wed, 19 Sep 2018 15:09:49 +0000 (11:09 -0400)] 
Prepare 3.8.1 release

3 years agoLANG-1419: Restore BundleSymbolicName for OSGi
Rob Tompkins [Wed, 19 Sep 2018 14:51:19 +0000 (10:51 -0400)] 
LANG-1419: Restore BundleSymbolicName for OSGi

3 years agoAdd RELEASE-NOTES-3.8.txt to the site LANG_3_8 LANG_3_8_RC1
Rob Tompkins [Thu, 16 Aug 2018 01:32:37 +0000 (21:32 -0400)] 
Add RELEASE-NOTES-3.8.txt to the site

3 years ago(fix) release notes LANG-1290 -> LANG-1390 typo
Rob Tompkins [Thu, 16 Aug 2018 01:17:28 +0000 (21:17 -0400)] 
(fix) release notes LANG-1290 -> LANG-1390 typo

3 years ago(fix) typographical error in JIRA number LANG-1290 -> LANG-1390
Rob Tompkins [Thu, 16 Aug 2018 01:16:41 +0000 (21:16 -0400)] 
(fix) typographical error in JIRA number LANG-1290 -> LANG-1390

3 years ago(fix) ensure character encoding in old release notes remains.
Rob Tompkins [Thu, 16 Aug 2018 01:06:00 +0000 (21:06 -0400)] 
(fix) ensure character encoding in old release notes remains.

3 years agoUpdate release date to RC build date
Rob Tompkins [Wed, 15 Aug 2018 12:21:45 +0000 (08:21 -0400)] 
Update release date to RC build date

3 years agoget japicmp working
Rob Tompkins [Wed, 15 Aug 2018 02:42:58 +0000 (22:42 -0400)] 
get japicmp working

3 years agoPreparing 3.8
Rob Tompkins [Wed, 15 Aug 2018 02:08:20 +0000 (22:08 -0400)] 
Preparing 3.8

3 years agoorg.easymock:easymock:3.5.1 -> 3.6
Rob Tompkins [Wed, 15 Aug 2018 01:28:13 +0000 (21:28 -0400)] 
org.easymock:easymock:3.5.1 -> 3.6

3 years agojmh.version 1.19 -> 1.21
Rob Tompkins [Wed, 15 Aug 2018 01:27:42 +0000 (21:27 -0400)] 
jmh.version 1.19 -> 1.21

3 years ago(fix) README.md badges
Rob Tompkins [Tue, 14 Aug 2018 20:01:55 +0000 (16:01 -0400)] 
(fix) README.md badges

3 years agoLANG-1408: add final to method params
Rob Tompkins [Tue, 14 Aug 2018 19:53:09 +0000 (15:53 -0400)] 
LANG-1408: add final to method params

3 years agoLANG-1408: Rounding utilities for converting to BigDecimal
Rob Tompkins [Tue, 14 Aug 2018 19:48:19 +0000 (15:48 -0400)] 
LANG-1408: Rounding utilities for converting to BigDecimal

3 years agoLANG-1408: add toDouble(BigDecimal), toDouble(BigDecimal, double)
Rob Tompkins [Tue, 14 Aug 2018 14:44:30 +0000 (10:44 -0400)] 
LANG-1408: add toDouble(BigDecimal), toDouble(BigDecimal, double)

3 years agoLANG-1402: thanks Mark
Rob Tompkins [Thu, 9 Aug 2018 19:53:50 +0000 (15:53 -0400)] 
LANG-1402: thanks Mark

3 years agoMerge branch 'LANG-1402' of https://github.com/MarkDacek/commons-lang
Rob Tompkins [Thu, 9 Aug 2018 19:15:38 +0000 (15:15 -0400)] 
Merge branch 'LANG-1402' of https://github.com/MarkDacek/commons-lang

3 years agoclarified Javadoc 336/head
MarkDacek [Thu, 9 Aug 2018 01:47:43 +0000 (21:47 -0400)] 
clarified Javadoc

3 years ago[LANG-1405] Remove checks for java versions below the minimum supported
Gary Gregory [Fri, 27 Jul 2018 23:20:48 +0000 (17:20 -0600)] 
[LANG-1405] Remove checks for java versions below the minimum supported
one. Closes #338.

3 years agoLANG-1401: Typo in JavaDoc for lastIndexOf
pascalschumacher [Fri, 27 Jul 2018 17:38:57 +0000 (19:38 +0200)] 
LANG-1401: Typo in JavaDoc for lastIndexOf

Add changes.xml entry (actual fix was done in 69a8ef318942898383508c2a3d1db240f38f1cb8)

3 years agoDo not link to deprecated commons-text classes.
pascalschumacher [Thu, 26 Jul 2018 21:31:27 +0000 (23:31 +0200)] 
Do not link to deprecated commons-text classes.

3 years agoPrepare for release 3.8.
Gary Gregory [Mon, 16 Jul 2018 13:58:27 +0000 (07:58 -0600)] 
Prepare for release 3.8.

3 years agoPrepare for release 3.8.
Gary Gregory [Mon, 16 Jul 2018 13:54:20 +0000 (07:54 -0600)] 
Prepare for release 3.8.

3 years agoPrepare for release 3.8.
Gary Gregory [Mon, 16 Jul 2018 05:00:39 +0000 (23:00 -0600)] 
Prepare for release 3.8.

3 years agoremoved ArrayUtils.get
MarkDacek [Sat, 14 Jul 2018 19:42:14 +0000 (15:42 -0400)] 
removed ArrayUtils.get

3 years agoRaw Types
Sebb [Fri, 13 Jul 2018 14:05:35 +0000 (15:05 +0100)] 
Raw Types

3 years agoLANG-1402: more comment proofreading
MarkDacek [Sun, 8 Jul 2018 23:35:13 +0000 (19:35 -0400)] 
LANG-1402: more comment proofreading

3 years agoLANG-1402: comment proofread
MarkDacek [Sun, 8 Jul 2018 23:20:48 +0000 (19:20 -0400)] 
LANG-1402: comment proofread

3 years agoLANG-1402: refactored to return default value on negative index
MarkDacek [Sun, 8 Jul 2018 23:11:19 +0000 (19:11 -0400)] 
LANG-1402: refactored to return default value on negative index

3 years agoLANG-1402: Fixed comment
MarkDacek [Sun, 8 Jul 2018 23:06:48 +0000 (19:06 -0400)] 
LANG-1402: Fixed comment

3 years agorefactored to Generics and added isArrayIndexValid
MarkDacek [Sun, 8 Jul 2018 20:15:54 +0000 (16:15 -0400)] 
refactored to Generics and added isArrayIndexValid

3 years agoLANG-1402: added get methods to ArrayUtils
MarkDacek [Sat, 7 Jul 2018 16:45:15 +0000 (12:45 -0400)] 
LANG-1402: added get methods to ArrayUtils

3 years agoUpdate to commons-parent version 47
pascalschumacher [Tue, 3 Jul 2018 17:17:52 +0000 (19:17 +0200)] 
Update to commons-parent version 47

3 years agoLANG-1380: FastDateParser too strict on abbreviated short month symbols
Chas Honton [Tue, 3 Jul 2018 03:39:24 +0000 (20:39 -0700)] 
LANG-1380: FastDateParser too strict on abbreviated short month symbols

4 years agoreplaces primitive comparison with x.compare() where x is a wrapper class of the... 334/head
Igor Curdvanovschi [Mon, 25 Jun 2018 20:17:41 +0000 (22:17 +0200)] 
replaces primitive comparison with x.compare() where x is a wrapper class of the primitive

4 years agoremoves redundant '+' sign
Igor Curdvanovschi [Mon, 25 Jun 2018 19:30:13 +0000 (21:30 +0200)] 
removes redundant '+' sign

4 years agoflips the order of conditional expressions and 'if' statements whose conditions were...
Igor Curdvanovschi [Wed, 20 Jun 2018 11:45:54 +0000 (14:45 +0300)] 
flips the order of conditional expressions and 'if' statements whose conditions were negated

4 years agoremoves unnecessary class reference of static method calls which are declared in...
Igor Curdvanovschi [Wed, 20 Jun 2018 11:28:10 +0000 (14:28 +0300)] 
removes unnecessary class reference of static method calls which are declared in the same class

4 years agoreplaces 'size() == 0' and 'length() == 0' with 'isEmpty()'
Igor Curdvanovschi [Wed, 20 Jun 2018 10:05:02 +0000 (13:05 +0300)] 
replaces 'size() == 0' and 'length() == 0' with 'isEmpty()'

4 years agodeletes redundant 'new' expression in constant array creation
Igor Curdvanovschi [Wed, 20 Jun 2018 09:44:10 +0000 (12:44 +0300)] 
deletes redundant 'new' expression in constant array creation

4 years agoremoves unchecked exceptions declared in 'throws' clause
Igor Curdvanovschi [Wed, 20 Jun 2018 06:00:24 +0000 (09:00 +0300)] 
removes unchecked exceptions declared in 'throws' clause

4 years agoThe the patrol.
Gary Gregory [Sat, 16 Jun 2018 21:46:28 +0000 (15:46 -0600)] 
The the patrol.

4 years agoFraction#getFraction: Replace "the the" with "the" in javadoc
pascalschumacher [Sat, 16 Jun 2018 21:12:03 +0000 (23:12 +0200)] 
Fraction#getFraction: Replace "the the" with "the" in javadoc

4 years agoUse oraclejdk10 and openjdk10 provided by travis.
pascalschumacher [Sat, 9 Jun 2018 08:31:13 +0000 (10:31 +0200)] 
Use oraclejdk10 and openjdk10 provided by travis.

4 years agoLANG-1392: Methods for getting first non empty or non blank value
pascalschumacher [Fri, 8 Jun 2018 17:34:32 +0000 (19:34 +0200)] 
LANG-1392: Methods for getting first non empty or non blank value

Improve javadoc

4 years agoLANG-1392: add changes.xml entry
pascalschumacher [Fri, 8 Jun 2018 16:12:51 +0000 (18:12 +0200)] 
LANG-1392: add changes.xml entry

4 years agoLANG-1392: Methods for getting first non empty or non blank value (closes #325)
Jeff Nelson [Thu, 19 Apr 2018 20:00:19 +0000 (15:00 -0500)] 
LANG-1392: Methods for getting first non empty or non blank value (closes #325)

4 years ago(doc) Fix typos in classes of tuple package 333/head
amseager [Fri, 8 Jun 2018 12:10:43 +0000 (15:10 +0300)] 
(doc) Fix typos in classes of tuple package

4 years agoFix javadoc errors reported by Java 11.
pascalschumacher [Mon, 28 May 2018 08:55:30 +0000 (10:55 +0200)] 
Fix javadoc errors reported by Java 11.

4 years agoStringUtils: fix checkstyle violation
pascalschumacher [Sun, 27 May 2018 20:17:47 +0000 (22:17 +0200)] 
StringUtils: fix checkstyle violation

4 years ago[LANG-1238] Fix typo.
Gary Gregory [Tue, 22 May 2018 16:30:29 +0000 (10:30 -0600)] 
[LANG-1238] Fix typo.

4 years ago[LANG-1290] StringUtils.join() with support for List<?> with
Gary Gregory [Tue, 22 May 2018 16:27:24 +0000 (10:27 -0600)] 
[LANG-1290] StringUtils.join() with support for List<?> with
configurable start/end indices. Fix XML.

4 years agoExtract method.
Gary Gregory [Tue, 22 May 2018 15:00:55 +0000 (09:00 -0600)] 
Extract method.

4 years ago[LANG-1290] StringUtils.join() with support for List<?> with
Gary Gregory [Tue, 22 May 2018 14:57:50 +0000 (08:57 -0600)] 
[LANG-1290] StringUtils.join() with support for List<?> with
configurable start/end indices. Extract constant.

4 years ago[LANG-1290] StringUtils.join() with support for List<?> with
Gary Gregory [Tue, 22 May 2018 14:55:54 +0000 (08:55 -0600)] 
[LANG-1290] StringUtils.join() with support for List<?> with
configurable start/end indices. Reuse constant.

4 years agoFormat nit.
Gary Gregory [Tue, 22 May 2018 14:46:07 +0000 (08:46 -0600)] 
Format nit.

4 years ago[LANG-1290] StringUtils.join() with support for List<?> with
Gary Gregory [Tue, 22 May 2018 14:41:35 +0000 (08:41 -0600)] 
[LANG-1290] StringUtils.join() with support for List<?> with
configurable start/end indices.

4 years ago[LANG-1290] StringUtils.join() with support for List<?> with
Jochen Schalanda [Tue, 22 May 2018 14:40:55 +0000 (08:40 -0600)] 
[LANG-1290] StringUtils.join() with support for List<?> with
configurable start/end indices.

4 years ago[LANG-1397] WordUtils.wrap throws StringIndexOutOfBoundsException when
Takanobu Asanuma [Fri, 18 May 2018 17:44:37 +0000 (11:44 -0600)] 
[LANG-1397] WordUtils.wrap throws StringIndexOutOfBoundsException when
wrapLength is Integer.MAX_VALUE.

4 years ago[LANG-1238] Add RegexUtils class instead of overloadinh methods in
Gary Gregory [Thu, 17 May 2018 23:18:45 +0000 (17:18 -0600)] 
[LANG-1238] Add RegexUtils class instead of overloadinh methods in
StringUtils that take a regex to take precompiled Pattern. Use 120 chars
per line.

4 years ago[LANG-1238] Add RegexUtils class instead of overloadinh methods in
Gary Gregory [Thu, 17 May 2018 23:16:08 +0000 (17:16 -0600)] 
[LANG-1238] Add RegexUtils class instead of overloadinh methods in
StringUtils that take a regex to take precompiled Pattern. Sort methods.

4 years ago[LANG-1238] Add RegexUtils class instead of overloadinh methods in
Gary Gregory [Thu, 17 May 2018 23:15:19 +0000 (17:15 -0600)] 
[LANG-1238] Add RegexUtils class instead of overloadinh methods in
StringUtils that take a regex to take precompiled Pattern. Sort methods.

4 years ago[LANG-1238] Add RegexUtils class instead of overloadinh methods in
Gary Gregory [Thu, 17 May 2018 23:14:36 +0000 (17:14 -0600)] 
[LANG-1238] Add RegexUtils class instead of overloadinh methods in
StringUtils that take a regex to take precompiled Pattern. Javadoc
tweaks.

4 years ago[LANG-1238] Add RegexUtils class instead of overloadinh methods in
Oleg Chubaryov [Thu, 17 May 2018 23:12:46 +0000 (17:12 -0600)] 
[LANG-1238] Add RegexUtils class instead of overloadinh methods in
StringUtils that take a regex to take precompiled Pattern.

4 years agoFix broken XML.
Gary Gregory [Thu, 17 May 2018 21:15:28 +0000 (15:15 -0600)] 
Fix broken XML.

4 years agoTravis: Allow failures on Java 11, because some FastDateParser tests currently fail... 329/head
pascalschumacher [Thu, 10 May 2018 12:21:36 +0000 (14:21 +0200)] 
Travis: Allow failures on Java 11, because some FastDateParser tests currently fail with "java.text.ParseException: Unparseable date"

4 years agoTravis: Switch from Cobertura to Jacoco, because Cobertura does not work on Java...
pascalschumacher [Fri, 4 May 2018 20:38:34 +0000 (22:38 +0200)] 
Travis: Switch from Cobertura to Jacoco, because Cobertura does not work on Java 9+. Cobertura-Maven-Plugin fails on Java 10+ even if execution is skipped.

Skip Jacoco on Java 11, because Jacoco does not support it yet (see: https://github.com/jacoco/jacoco/issues/663).

4 years agoTravis: Add Java 10 "Oracle JDK", Java 10 "OpenJDK", Java 11 "Oracle JDK"
pascalschumacher [Fri, 4 May 2018 19:32:56 +0000 (21:32 +0200)] 
Travis: Add Java 10 "Oracle JDK", Java 10 "OpenJDK", Java 11 "Oracle JDK"

4 years agoTypo: 'JavaDoc' -> 'Javadoc'.
Gary Gregory [Tue, 15 May 2018 18:58:01 +0000 (12:58 -0600)] 
Typo: 'JavaDoc' -> 'Javadoc'.

4 years agoLANG-1396 - JsonToStringStyle does not escape string names
Sebb [Thu, 10 May 2018 12:08:07 +0000 (13:08 +0100)] 
LANG-1396 - JsonToStringStyle does not escape string names

4 years agoLANG-1395 - JsonToStringStyle does not escape double quote in a string
Sebb [Wed, 9 May 2018 17:28:19 +0000 (18:28 +0100)] 
LANG-1395 - JsonToStringStyle does not escape double quote in a string
value

4 years agoJavadoc correction to agree with code
Sebb [Wed, 9 May 2018 08:47:25 +0000 (09:47 +0100)] 
Javadoc correction to agree with code

4 years agoUpdate commons-parent to version 46
pascalschumacher [Sat, 5 May 2018 11:41:30 +0000 (13:41 +0200)] 
Update commons-parent to version 46

4 years ago(doc) remove invalid example of `lastIndexOf` (closes #327)
Roman Golyshev [Sat, 28 Apr 2018 23:51:51 +0000 (02:51 +0300)] 
(doc) remove invalid example of `lastIndexOf` (closes #327)

- `StringUtils.lastIndexOf("aabaabaa", "ba", 2)  = -1` is invalid; moreover, example below is applied to the same arguments, but gets another (correct) result

4 years ago[LANG-1391] Improve Javadoc for StringUtils.isAnyEmpty(null).
Oleg Chubaryov [Thu, 26 Apr 2018 16:07:11 +0000 (12:07 -0400)] 
[LANG-1391] Improve Javadoc for StringUtils.isAnyEmpty(null).

4 years ago[LANG-1394] org.apache.commons.lang3.SystemUtils should not write to
Gary Gregory [Sun, 22 Apr 2018 16:45:43 +0000 (10:45 -0600)] 
[LANG-1394] org.apache.commons.lang3.SystemUtils should not write to
System.err.

4 years ago[LANG-1393] Add API SystemUtils.String getEnvironmentVariable(final
Gary Gregory [Fri, 20 Apr 2018 16:15:32 +0000 (10:15 -0600)] 
[LANG-1393] Add API SystemUtils.String getEnvironmentVariable(final
String name, final String defaultValue). Fix @since tag.

4 years ago[LANG-1393] Add API SystemUtils.String getEnvironmentVariable(final
Gary Gregory [Fri, 20 Apr 2018 14:55:32 +0000 (08:55 -0600)] 
[LANG-1393] Add API SystemUtils.String getEnvironmentVariable(final
String name, final String defaultValue).

4 years ago[LANG-1391] Improve Javadoc for StringUtils.isAnyEmpty(null).
Gary Gregory [Wed, 18 Apr 2018 18:26:02 +0000 (12:26 -0600)] 
[LANG-1391] Improve Javadoc for StringUtils.isAnyEmpty(null).

4 years agoUpdate GitHub PR help link (closes #322)
Alfredo Ferreira [Fri, 6 Apr 2018 13:08:15 +0000 (15:08 +0200)] 
Update GitHub PR help link (closes #322)

4 years agoREADME.md: update javadoc badge for 3.7
pascalschumacher [Wed, 4 Apr 2018 07:39:35 +0000 (09:39 +0200)] 
README.md: update javadoc badge for 3.7

4 years agoSerializatoinUtilsTest assertArraysEquals (closes #321)
Allon Mureinik [Wed, 4 Apr 2018 04:10:28 +0000 (07:10 +0300)] 
SerializatoinUtilsTest assertArraysEquals (closes #321)

Utilize assertArraysEquals to compare arrays instead of boiler plate
implementing it with a for loop.

This change both makes the test code cleaner and improves the output
in case of an assertion failure by showing all the differences between
the two arrays instead of stopping at the first.

4 years agoSerializationUtilsTest expected exceptions
Allon Mureinik [Wed, 4 Apr 2018 04:07:20 +0000 (07:07 +0300)] 
SerializationUtilsTest expected exceptions

Use the expected argument of the @Test annotation instead of
boiler-plate implementing this behavior with a try-catch-fail
construct in order to clean up the code and make it more obvious to
the reader.

4 years agoSerializationUtilsTest identity assertions
Allon Mureinik [Wed, 4 Apr 2018 03:58:09 +0000 (06:58 +0300)] 
SerializationUtilsTest identity assertions

Replaced calls to assertTrue with a != condition with calls to
assertNotSame calls.
This change retains the functionality, but will produce a more
detailed error message in case the assertion fails.
It also (arguably) makes the test code more straight-forward.

4 years agoSome reflection tests must account for classes files being instrumented
Gary Gregory [Thu, 29 Mar 2018 19:27:45 +0000 (13:27 -0600)] 
Some reflection tests must account for classes files being instrumented
by Jacoco.

4 years agoSome reflection tests must account for classes files being instrumented
Gary Gregory [Thu, 29 Mar 2018 19:26:59 +0000 (13:26 -0600)] 
Some reflection tests must account for classes files being instrumented
by Jacoco.

4 years agoUpdate test for Java 11 EA.
Gary Gregory [Thu, 29 Mar 2018 17:52:05 +0000 (11:52 -0600)] 
Update test for Java 11 EA.

4 years agoUpdate commons-parent from 43 to 45.
Gary Gregory [Thu, 29 Mar 2018 15:13:54 +0000 (09:13 -0600)] 
Update commons-parent from 43 to 45.

4 years agoBetter description.
Gary Gregory [Thu, 29 Mar 2018 15:01:12 +0000 (09:01 -0600)] 
Better description.

4 years agoNext release will be this year one can only hope.
Gary Gregory [Thu, 29 Mar 2018 14:59:37 +0000 (08:59 -0600)] 
Next release will be this year one can only hope.

4 years ago[LANG-1385] NumberUtils.createNumber() throws
Gary Gregory [Sun, 11 Mar 2018 01:16:24 +0000 (18:16 -0700)] 
[LANG-1385] NumberUtils.createNumber() throws
StringIndexOutOfBoundsException instead of NumberFormatException.

4 years agoPredictable randomness in shuffle tests. Closes #317 from Allon
Gary Gregory [Fri, 9 Mar 2018 22:06:03 +0000 (15:06 -0700)] 
Predictable randomness in shuffle tests. Closes #317 from Allon
Murienik's PR https://github.com/apache/commons-lang/pull/317

4 years agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-lang
Gilles Sadowski [Thu, 8 Mar 2018 15:29:05 +0000 (16:29 +0100)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-lang

4 years agoTrack changes.
Gilles Sadowski [Thu, 8 Mar 2018 15:28:17 +0000 (16:28 +0100)] 
Track changes.

4 years agoRedundant specification of type arguments.
Gary Gregory [Thu, 8 Mar 2018 15:19:25 +0000 (08:19 -0700)] 
Redundant specification of type arguments.

4 years agoLANG-1384: Version "11" is available.
Gilles Sadowski [Thu, 8 Mar 2018 12:54:31 +0000 (13:54 +0100)] 
LANG-1384: Version "11" is available.

4 years agoLANG-1384: Fix NPE when version >= 11
Gilles Sadowski [Thu, 8 Mar 2018 12:17:00 +0000 (13:17 +0100)] 
LANG-1384: Fix NPE when version >= 11

The fix is likely to be insufficient if the version naming scheme changes.

4 years agoUse java9 profile on JDK 9 and later
pascalschumacher [Fri, 2 Mar 2018 16:28:19 +0000 (17:28 +0100)] 
Use java9 profile on JDK 9 and later

4 years agoUpdate Maven Checstyle plugin from 2.17 to 3.0.0.
Gary Gregory [Sat, 24 Feb 2018 02:13:01 +0000 (19:13 -0700)] 
Update Maven Checstyle plugin from 2.17 to 3.0.0.

4 years agoUpdate Maven PMD plugin from 3.8 to 3.9.0.
Gary Gregory [Fri, 23 Feb 2018 23:10:43 +0000 (16:10 -0700)] 
Update Maven PMD plugin from 3.8 to 3.9.0.