pascalschumacher
b933f55e58
StringUtils: fix checkstyle violation
2018-05-27 22:17:47 +02:00
Gary Gregory
ae7bef343f
[LANG-1238] Fix typo.
2018-05-22 10:30:29 -06:00
Gary Gregory
2bb197d3d4
[LANG-1290] StringUtils.join() with support for List<?> with
...
configurable start/end indices. Fix XML.
2018-05-22 10:27:24 -06:00
Gary Gregory
81ee0d062c
Extract method.
2018-05-22 09:00:55 -06:00
Gary Gregory
f4a262df52
[LANG-1290] StringUtils.join() with support for List<?> with
...
configurable start/end indices. Extract constant.
2018-05-22 08:57:50 -06:00
Gary Gregory
96cb498f9b
[LANG-1290] StringUtils.join() with support for List<?> with
...
configurable start/end indices. Reuse constant.
2018-05-22 08:55:54 -06:00
Gary Gregory
a5391bb34c
Format nit.
2018-05-22 08:46:07 -06:00
Gary Gregory
9de7e1a1b4
[LANG-1290] StringUtils.join() with support for List<?> with
...
configurable start/end indices.
2018-05-22 08:41:35 -06:00
Jochen Schalanda
87937b2e71
[LANG-1290] StringUtils.join() with support for List<?> with
...
configurable start/end indices.
2018-05-22 08:40:55 -06:00
Takanobu Asanuma
09ef69c5b5
[LANG-1397] WordUtils.wrap throws StringIndexOutOfBoundsException when
...
wrapLength is Integer.MAX_VALUE.
2018-05-18 11:44:37 -06:00
Gary Gregory
bd4066eba8
[LANG-1238] Add RegexUtils class instead of overloadinh methods in
...
StringUtils that take a regex to take precompiled Pattern. Use 120 chars
per line.
2018-05-17 17:18:45 -06:00
Gary Gregory
54acb6e10f
[LANG-1238] Add RegexUtils class instead of overloadinh methods in
...
StringUtils that take a regex to take precompiled Pattern. Sort methods.
2018-05-17 17:16:08 -06:00
Gary Gregory
bcc4f82a7a
[LANG-1238] Add RegexUtils class instead of overloadinh methods in
...
StringUtils that take a regex to take precompiled Pattern. Sort methods.
2018-05-17 17:15:19 -06:00
Gary Gregory
44b6d2ead5
[LANG-1238] Add RegexUtils class instead of overloadinh methods in
...
StringUtils that take a regex to take precompiled Pattern. Javadoc
tweaks.
2018-05-17 17:14:36 -06:00
Oleg Chubaryov
7129c43b08
[LANG-1238] Add RegexUtils class instead of overloadinh methods in
...
StringUtils that take a regex to take precompiled Pattern.
2018-05-17 17:12:46 -06:00
Gary Gregory
5d4916933d
Fix broken XML.
2018-05-17 15:15:28 -06:00
pascalschumacher
961e4a821b
Travis: Allow failures on Java 11, because some FastDateParser tests currently fail with "java.text.ParseException: Unparseable date"
2018-05-15 22:03:20 +02:00
pascalschumacher
6996686b6b
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 ).
2018-05-15 22:03:20 +02:00
pascalschumacher
a7b06d6250
Travis: Add Java 10 "Oracle JDK", Java 10 "OpenJDK", Java 11 "Oracle JDK"
2018-05-15 22:03:20 +02:00
Gary Gregory
5fa073a5ca
Typo: 'JavaDoc' -> 'Javadoc'.
2018-05-15 12:58:01 -06:00
Sebb
3fadfdd69f
LANG-1396 - JsonToStringStyle does not escape string names
2018-05-10 13:08:07 +01:00
Sebb
e7d16c2762
LANG-1395 - JsonToStringStyle does not escape double quote in a string
...
value
2018-05-09 18:28:19 +01:00
Sebb
362dd935f8
Javadoc correction to agree with code
2018-05-09 09:47:25 +01:00
pascalschumacher
393ad2db73
Update commons-parent to version 46
2018-05-05 13:41:30 +02:00
Roman Golyshev
69a8ef3189
(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
2018-04-29 09:37:57 +02:00
Oleg Chubaryov
38cf0c68d5
[LANG-1391] Improve Javadoc for StringUtils.isAnyEmpty(null).
2018-04-26 12:07:11 -04:00
Gary Gregory
58a8f12b44
[LANG-1394] org.apache.commons.lang3.SystemUtils should not write to
...
System.err.
2018-04-22 10:45:43 -06:00
Gary Gregory
7c441e87cf
[LANG-1393] Add API SystemUtils.String getEnvironmentVariable(final
...
String name, final String defaultValue). Fix @since tag.
2018-04-20 10:15:32 -06:00
Gary Gregory
efba54d35f
[LANG-1393] Add API SystemUtils.String getEnvironmentVariable(final
...
String name, final String defaultValue).
2018-04-20 08:55:32 -06:00
Gary Gregory
8e3ec1722b
[LANG-1391] Improve Javadoc for StringUtils.isAnyEmpty(null).
2018-04-18 12:26:02 -06:00
Alfredo Ferreira
b41e918186
Update GitHub PR help link ( closes #322 )
2018-04-06 16:03:47 +02:00
pascalschumacher
937ae45ed4
README.md: update javadoc badge for 3.7
2018-04-04 09:39:35 +02:00
Allon Mureinik
e51bd89201
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.
2018-04-04 09:32:29 +02:00
Allon Mureinik
1415c9a2a6
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.
2018-04-04 09:32:22 +02:00
Allon Mureinik
aff0fae2ec
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.
2018-04-04 09:32:22 +02:00
Gary Gregory
9901bf98e4
Some reflection tests must account for classes files being instrumented
...
by Jacoco.
2018-03-29 13:27:45 -06:00
Gary Gregory
17f9d22f33
Some reflection tests must account for classes files being instrumented
...
by Jacoco.
2018-03-29 13:26:59 -06:00
Gary Gregory
56b7ae44f9
Update test for Java 11 EA.
2018-03-29 11:52:05 -06:00
Gary Gregory
c53c2cbc11
Update commons-parent from 43 to 45.
2018-03-29 09:13:54 -06:00
Gary Gregory
a098f04106
Better description.
2018-03-29 09:01:12 -06:00
Gary Gregory
06be0be267
Next release will be this year one can only hope.
2018-03-29 08:59:37 -06:00
Gary Gregory
8b62c114cf
[LANG-1385] NumberUtils.createNumber() throws
...
StringIndexOutOfBoundsException instead of NumberFormatException.
2018-03-10 18:16:24 -07:00
Gary Gregory
9c886bd4a1
Predictable randomness in shuffle tests. Closes #317 from Allon
...
Murienik's PR https://github.com/apache/commons-lang/pull/317
2018-03-09 15:06:03 -07:00
Gilles Sadowski
1a8d276278
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-lang
2018-03-08 16:29:05 +01:00
Gilles Sadowski
53bb395988
Track changes.
2018-03-08 16:28:17 +01:00
Gary Gregory
357fe13788
Redundant specification of type arguments.
2018-03-08 08:19:25 -07:00
Gilles Sadowski
50ce8c44e1
LANG-1384: Version "11" is available.
2018-03-08 13:54:31 +01:00
Gilles Sadowski
cb686673a7
LANG-1384: Fix NPE when version >= 11
...
The fix is likely to be insufficient if the version naming scheme changes.
2018-03-08 13:17:00 +01:00
pascalschumacher
0820c4c895
Use java9 profile on JDK 9 and later
2018-03-02 17:28:19 +01:00
Gary Gregory
415eb9ebb7
Update Maven Checstyle plugin from 2.17 to 3.0.0.
2018-02-23 19:13:01 -07:00