commons-lang icon indicating copy to clipboard operation
commons-lang copied to clipboard

Apache Commons Lang

Results 131 commons-lang issues
Sort by recently updated
recently updated
newest added

* Original JIRA ticket (not by me): https://issues.apache.org/jira/projects/LANG/issues/LANG-1689 * Method `isEmpty` in `ObjectUtils` was modified to return the negation of `Optional.isPresent` (i.e. `!optional.isPresent()`) when the passed in object is an...

Note: This PR is related to #933. Each is a different approach to adding an Optional to ObjectUtils.isEmpty. At most one should me merged. This approach "unwraps" the optional so...

Added documentation indicating that DateFormatUtils does not support week year format YYYY like in java.util.Calendar, and it will default to yyyy current year format.

- fix broken links (using their new URL, an alternative URL or a Wayback Machine link), - use direct links instead of redirects, - use HTTPS where possible.

Methods throw null pointer exception but the javadocs did not reflect it. Fixed javadocs to address the issue.

- Updated type parameter for DiffBuilder.append(String, DiffResult) to accept DiffResults of any type in case nested field is not the same type as the containing class - Added test case...

Hello! I added some missing javadoc for null arguments and wrote tests when they didn't exist. I tried to keep the diffs as small as possible and the sentences consistent....

Create a new method that split a string into an array of fixed-length elements

In https://github.com/apache/commons-lang/pull/709 I proposed add `lap()` to StopWatch. During discussion I realized that StopWatch is overcomplicated and better is option is no-brainer SimpleStopWatch. With a `lap()`, of course