Commit Graph

6640 Commits

Author SHA1 Message Date
Gary Gregory b95c5d0483 Make RandomUtils.insecure() public 2024-08-08 07:25:38 -04:00
Gary Gregory 69cb996265 Deprecate static RandomStringUtils.random*() methods in favor or
.secure() and .insecure() versions
2024-08-08 07:25:21 -04:00
Gary Gregory f3de6a4633 Deprecate static RandomUtils.next*() methods in favor or .secure() and
.insecure() versions
2024-08-08 07:24:43 -04:00
Gary Gregory 0d9bda8967 Javadoc 2024-08-07 20:32:12 -04:00
Gary Gregory 5ccbfa55c1 Make RandomUtils.insecure() public 2024-08-07 18:50:52 -04:00
Gary Gregory f5b0757c43
Bump org.hamcrest:hamcrest from 2.2 to 3.0 #1255 2024-08-02 11:32:39 -04:00
Gary Gregory 6fa810e046 Prepare for the next release candidate 2024-08-01 11:50:29 +00:00
Gary Gregory bd051edb1e Use @link 2024-07-31 08:57:54 -04:00
Gary Gregory 066b9d3047 Sort members 2024-07-31 08:51:12 -04:00
Gary Gregory 4bc3fb504e Fix Javadoc warnings 2024-07-31 08:51:04 -04:00
Gary Gregory 6bd90026ca Deprecate constructor for removal 2024-07-31 08:34:09 -04:00
Gary Gregory 0804aa1978 Deprecate constructor for removal 2024-07-31 08:29:42 -04:00
Gary Gregory 22f808a624 Deprecate constructor for removal 2024-07-31 08:26:19 -04:00
Gary Gregory b224a8195f Deprecate constructor for removal 2024-07-31 08:24:05 -04:00
Gary Gregory 20d7ec644d Deprecate constructor for removal 2024-07-31 08:24:00 -04:00
Gary Gregory 16bce45fec Use Javadoc @code 2024-07-29 19:37:34 -04:00
Gary Gregory 9345437e0f Javadoc fix 2024-07-29 19:35:39 -04:00
Gary Gregory fa01994df1 Use old syntax due to Javadoc 8 issue
Using @code on Java 17 is OK here
2024-07-29 19:30:48 -04:00
Gary Gregory 3a854b01f6 Remove trailing whitespace 2024-07-29 19:04:16 -04:00
Gary Gregory c1955a2086 Use Javadoc @code 2024-07-29 18:58:42 -04:00
Gary Gregory 3334009c30 Use Javadoc @code 2024-07-29 18:40:59 -04:00
Gary Gregory 126b336139 Remove useless comment prefix and postfix 2024-07-26 18:44:31 -04:00
Gary Gregory 5a249d8da9 Remove useless comments 2024-07-26 18:43:36 -04:00
Gary Gregory 7b7de5ffe1
Bump org.apache.commons:commons-parent from 71 to 72 #1253 2024-07-26 18:02:32 -04:00
Gary Gregory 7e459d08b5
Add RandomStringUtils.insecure()
- Add RandomStringUtils.insecure()
- Add RandomStringUtils.secure()
2024-07-25 19:39:55 -04:00
Gary Gregory c95ee37dff
Feature/randomutils secure() and insecure() (#1250)
* Add testLang1641()

* Rename some test methods

* Refactor RandomUtils and RandomStringUtils with secure() and insecure()
instances
2024-07-25 19:38:15 -04:00
Gary Gregory 12c71a019f
Fix Javadoc in StringUtils.splitPreserveAllTokens() #1251 2024-07-25 19:38:00 -04:00
Václav Haisman 752496200f
Fix JavaDoc comments in StringUtils. (#1251)
Add missing quotation marks in examples.
2024-07-25 19:36:48 -04:00
Gary Gregory 15503e82ec Whitespace 2024-07-25 08:54:59 -04:00
Gary Gregory 64c73d02e0 Use fewer intermediary strings in
DefaultExceptionContext.getFormattedExceptionMessage(String)
2024-07-25 08:53:31 -04:00
Gary Gregory ce690a3787 Use Objects.toString() 2024-07-25 08:51:17 -04:00
Gary Gregory 3609f5b7b9 Add DefaultExceptionContextTest.testFormattedExceptionMessageNullValue() 2024-07-25 08:48:51 -04:00
Gary Gregory a4f38e95ee Add DefaultExceptionContextTest.testFormattedExceptionMessageExceptionHandling() 2024-07-25 08:48:04 -04:00
Gary Gregory 118652d768 Add LangCollectors.collect(Collector, T...) 2024-07-25 08:26:41 -04:00
Gary Gregory b7be19dc9f Javadoc
Use HTML 'em' tag instead of 'i' tag
2024-07-21 11:40:50 -04:00
Gary Gregory 31e2d43859
Add Javadoc links from StopWatch to DurationUtils #1249 2024-07-20 09:06:08 -04:00
Oliver B. Fischer 13316cfcbd
Add a JavaDoc link from StopWatch to DurationUtils. (#1249)
Added a JavaDoc link from StopWatch to DurationUtils, as DurationUtils
provide similar functiontionality, which could be used in
simple use cases.
2024-07-20 09:05:06 -04:00
Gary Gregory 69e3ba4188 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2024-07-20 09:04:22 -04:00
Gary Gregory 32c93eb728 Javadoc 2024-07-20 09:04:09 -04:00
Gary Gregory 0f4dee8451 LocaleUtils.toLocale(String) cannot parse four segments 2024-07-19 11:35:33 -04:00
Gary Gregory 8f579b4f30 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2024-07-19 11:25:36 -04:00
Gary Gregory e79f81f746 Format nits 2024-07-19 11:08:08 -04:00
Gary Gregory effb8c7d3c Javadoc 2024-07-19 11:07:26 -04:00
Gary Gregory 3ebaac5c02 Format nits 2024-07-19 11:03:42 -04:00
Gary Gregory 00e530042f
[LANG-1745] RandomStringUtils.random() with a negative character index should throw IllegalArgumentException (#1247)
* Add testLang1641()

* Rename some test methods

* [LANG-1745] RandomStringUtils.random() with a negative character index
should throw IllegalArgumentException
2024-07-19 09:07:42 -04:00
Gary Gregory e32896f89e Reimplement StopWatch to use java.time 2024-07-18 17:00:28 -04:00
Gary Gregory 2630268235 Add StopWatch.getDuration() and deprecate getTime() 2024-07-18 16:26:28 -04:00
Gary Gregory 3ebd20002e Add StopWatch.getStopInstant() and deprecate getStopTime() 2024-07-18 14:34:20 -04:00
Gary Gregory f1aed3eacb Add StopWatch.getStartInstant() and deprecate getStartTime() 2024-07-18 14:30:18 -04:00
Gary Gregory 2875a65756 Add StopWatch.getSplitDuration() and deprecate getSplitTime() 2024-07-18 14:24:24 -04:00