Commit Graph

5216 Commits

Author SHA1 Message Date
Igor Curdvanovschi 96260205dc deletes redundant 'new' expression in constant array creation 2018-06-20 12:44:10 +03:00
Igor Curdvanovschi e767af7e7e removes unchecked exceptions declared in 'throws' clause 2018-06-20 09:03:40 +03:00
Gary Gregory 8e8b8e05e4 The the patrol. 2018-06-16 15:46:28 -06:00
pascalschumacher d9f1b897a2 Fraction#getFraction: Replace "the the" with "the" in javadoc 2018-06-16 23:12:03 +02:00
pascalschumacher 70be8e5148 Use oraclejdk10 and openjdk10 provided by travis. 2018-06-09 10:31:13 +02:00
pascalschumacher 89cd538eaf LANG-1392: Methods for getting first non empty or non blank value
Improve javadoc
2018-06-08 19:34:32 +02:00
pascalschumacher 672cd146f2 LANG-1392: add changes.xml entry 2018-06-08 18:12:51 +02:00
Jeff Nelson 152e5d48ea LANG-1392: Methods for getting first non empty or non blank value (closes #325) 2018-06-08 18:10:23 +02:00
amseager 9ea0063bc9 (doc) Fix typos in classes of tuple package 2018-06-08 15:12:46 +03:00
pascalschumacher 6850d88880 Fix javadoc errors reported by Java 11. 2018-05-28 10:55:30 +02:00
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