Commit Graph

5822 Commits

Author SHA1 Message Date
Gary Gregory e55a870d36 Add @SuppressWarnings. 2019-10-28 13:28:37 -04:00
apirom9 54afdb3035 Add more test inputs for ArrayUtils.toMap() method (#472)
* Add more test inputs for ArrayUtils.toMap() method in case zero-length array, all null values array, and duplicate keys in array

* Fixed style

* Fixed style

* Fixed as changed request

* Remove unused import statement
2019-10-25 09:15:08 -04:00
Gary Gregory ac00199379 [LANG-1494] Add org.apache.commons.lang3.time.CalendarUtils. 2019-10-18 16:08:46 -04:00
Gary Gregory 9489d55d5c Drop Subversion Id keywords. 2019-10-17 17:25:34 -04:00
Gary Gregory 1aea1a6044 Drop Subversion Id keywords. 2019-10-17 14:27:52 -04:00
Gary Gregory 9b3b490360 AnnotationUtils little cleanup #467. 2019-10-15 18:32:13 -04:00
Peter Verhas f3ad91ca38 AnnotationUtils little cleanup (#467)
* LANG-1480 getAbbreviatedName refactored to create appropriate length short class names

* LANG-1480 code fixed for special extreme case ".." abbreviated to 1 length should result ".." it was throwing exception. Tests are added

* import changed to avoid wild cards
apache master merged into current branch

* Mutable object import was moved to it's original place

* some accidental formatting reverted

* some accidental formatting reverted

* some accidental formatting reverted

* some accidental formatting reverted

* some accidental formatting reverted

* some accidental formatting reverted

* some accidental formatting reverted

* added another test case

* LANG-1480 fixing JavaDoc documentation as per requested by garydgregory

* LANG-1480 shortcut implemented, argument renamed, more tests

* LANG-1480 checkstyle update

* LANG-1492 tests methods modified to be public

* LANG-1480 imports rearranged

* LANG-1480 imports rearranged

* LANG-1480 imports rearranged

* little refactor

* unused import deleted

* space+

* space-
2019-10-15 18:30:59 -04:00
Peter Verhas bedae6950d LANG-1480 getAbbreviatedName refactored to create appropriate length … (#446)
* LANG-1480 getAbbreviatedName refactored to create appropriate length short class names

* LANG-1480 code fixed for special extreme case ".." abbreviated to 1 length should result ".." it was throwing exception. Tests are added

* import changed to avoid wild cards
apache master merged into current branch

* Mutable object import was moved to it's original place

* some accidental formatting reverted

* some accidental formatting reverted

* some accidental formatting reverted

* some accidental formatting reverted

* some accidental formatting reverted

* some accidental formatting reverted

* some accidental formatting reverted

* added another test case

* LANG-1480 fixing JavaDoc documentation as per requested by garydgregory

* LANG-1480 shortcut implemented, argument renamed, more tests

* LANG-1480 checkstyle update

* LANG-1492 tests methods modified to be public

* LANG-1480 imports rearranged

* LANG-1480 imports rearranged

* LANG-1480 imports rearranged

* imports were added that were accidentally removed during merging master
2019-10-12 15:16:54 -04:00
Peter Verhas a32c188c32 Code refactor to simplify Functions and new tests (#463)
* more tests

* formatting change as per requested by checkstyle

* DisplayName was added to the tests

* throw on odd refactored to eliminate copy paste
2019-10-12 15:12:17 -04:00
Gary Gregory c42806cfa0 [LANG-696] Update documentation related to the issue LANG-696 #449. 2019-10-08 14:55:21 -04:00
Gary Gregory 6102734c93 [LANG-696] Update documentation related to the issue LANG-696 #449. 2019-10-08 14:55:07 -04:00
Peter Verhas 23f18044d1 Update documentation related to the issue LANG-696 (#449)
* mainly documentation and some more tests, which are used in the
documentation manually copied from unit test to javaDoc

* fixed fragile unit tests (still fragile)
LANG-696 added the warning lines as requested by Stzx

* LANG-1480 checkstyle update, space inserted

* LANG-1480 import * was removed
2019-10-08 14:53:01 -04:00
Gary Gregory 84636da769 - Fix trailing whitespace.
- maven-checkstyle-plugin 3.0.0 -> 3.1.0.
- com.puppycrawl.tools:checkstyle 8.24 -> 8.25.
2019-10-05 11:22:30 -04:00
Gary Gregory 99f64671b0 Improve Javadoc based on the discussion of the GitHub PR #459. 2019-10-05 09:27:06 -04:00
Gary Gregory c1fbeee23e Improve Javadoc based on the discussion of the GitHub PR #459. 2019-10-05 09:21:40 -04:00
Gary Gregory 4f3d3b4318 [LANG-1426] Corrected usage examples in Javadocs #458. 2019-09-25 10:37:10 -04:00
Mikko Maunu 089b43a0a6 [LANG-1426] Corrected usage examples in Javadocs (#458)
* [LANG-1426] Corrected usage examples in Javadocs

* [LANG-1426] Added @throws Javadoc, corrected verb from check to truncate and consistently mimicking exception message in assertion message
2019-09-25 10:32:10 -04:00
pascalschumacher 46b381eb4b Travis CI: Drop Java 12 build (Java 13 is now Generally Available). 2019-09-20 10:15:56 +02:00
Gary Gregory 29723e851c Javadoc. 2019-09-13 17:25:30 -04:00
Gary Gregory aac260f84c Document interfaces with @FunctionalInterface.
Javadoc.
2019-09-13 11:47:47 -04:00
Gary Gregory a1395b6823 One empty line between methods. 2019-09-13 11:40:24 -04:00
Gary Gregory 26ed080b46 Sort members. 2019-09-13 11:39:08 -04:00
Gary Gregory 3ea8244287 More lambdas, less boilerplate. 2019-09-12 20:42:35 -04:00
Gary Gregory 15d9a6b052 Fix typo; thanks to Alex Herbert. 2019-09-12 15:52:58 -04:00
Gary Gregory e144ca6816 Spotbugs is already run as part of the Maven default build goal. 2019-09-12 09:09:20 -04:00
Gary Gregory 9a3f74709c Remove trailing white spaces on all lines. 2019-09-11 14:55:33 -04:00
Gary Gregory 59231ca9c2 [LANG-1453] StringUtils.removeIgnoreCase("İa", "a") throws
IndexOutOfBoundsException #423.
2019-09-11 14:50:15 -04:00
Gary Gregory 43f8e31bf5 Use our own APIs. 2019-09-11 11:40:37 -04:00
Gary Gregory d572b37a7d Use our own APIs. 2019-09-11 11:15:21 -04:00
Gary Gregory 975df007a5 Fix Javadoc. 2019-09-11 11:06:21 -04:00
Gary Gregory c3077ad1c1 Sort members. 2019-09-11 10:25:48 -04:00
Gary Gregory a3aa116d35 Javadoc. 2019-09-11 10:21:23 -04:00
Gary Gregory e7c6c5b66b [LANG-1406] StringIndexOutOfBoundsException in
StringUtils.replaceIgnoreCase

Fix dead store issue found by SpotBugs and enforce SpotBugs on CI
builds.
2019-09-11 09:57:28 -04:00
Gary Gregory 651c8f5c23 Remove trailing white spaces on all lines 2019-09-11 09:29:56 -04:00
Gary Gregory 990644599d com.puppycrawl.tools:checkstyle 8.23 -> 8.24. 2019-09-11 09:29:43 -04:00
Gary Gregory f83d6e3fe0 [test] junit-jupiter 5.5.1 -> 5.5.2. 2019-09-11 09:17:46 -04:00
geratorres d68e2e9125 [LANG-1406] StringIndexOutOfBoundsException in
StringUtils.replaceIgnoreCase

Closes #423.
2019-09-11 09:12:53 -04:00
Gary Gregory 2af6e9aa58 [LANG-1489] Add null-safe APIs as StringUtils.toRootLowerCase(String)
and StringUtils.toRootUpperCase(String). GitHub #456.
2019-09-11 09:08:31 -04:00
Gary Gregory ba1c22ce83
[LANG-1489] Add null-safe APIs as StringUtils.toRoot[Lower|Upper]Case(String) #456 2019-09-11 08:54:18 -04:00
Gary Gregory 7c32e52765 Update description for 3.10. 2019-09-09 10:06:10 -04:00
Gary Gregory df9a61e6b6 [LANG-1487] Add ClassLoaderUtils with toString() implementations. #453. 2019-09-09 10:05:35 -04:00
Gary Gregory 5b9e0f6df6
[LANG-1487] Add ClassLoaderUtils with toString() implementations. (#453)
[LANG-1487] Add ClassLoaderUtils with toString() implementations for
URLClassLoader.
2019-09-09 10:04:23 -04:00
Gary Gregory ec92ddd1c6 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2019-09-06 15:04:47 -04:00
Gary Gregory 7f9f0375a5 Add missing Javadoc text. 2019-09-06 14:52:51 -04:00
Gary Gregory 0abfa79193
[LANG-1486] Generify builder classes Diffable, DiffBuilder, and DiffResult
[LANG-1486] Generify builder classes Diffable, DiffBuilder, and DiffResult #452.
2019-09-06 10:32:41 -04:00
Gary Gregory b77014c953 [LANG-1485] Add getters for lhs and rhs objects in DiffResult #451. 2019-09-05 13:21:33 -04:00
Nicolas 9feaf9d7ff LANG-1485 : Add getters for lhs and rhs objects in DiffResult (#451)
* LANG-1485 : Add getters for lhs and rhs objects in DiffResult

* add @since and rename getters to getLeft and getRight

* fix typo on @since tag
2019-09-05 13:20:04 -04:00
Gary Gregory 3c44319a17 Added javadoc:javadoc -Ddoclint=all; note this will not fail if a
public element is missing a Javadoc.
2019-09-05 13:12:01 -04:00
Gary Gregory 22fc77a222 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2019-09-05 12:20:16 -04:00
Gary Gregory 54a5224e0c Addded javadoc:javadoc -Ddoclint=all; note this will not fail if a
public element is missing a Javadoc.
2019-09-05 12:20:07 -04:00