Apache Commons Lang
Go to file
Isira Seneviratne 3700641b4e
Correct Javadocs of methods that use Validate.notNull() and replace some uses of Validate.isTrue() with Validate.notNull(). (#525)
* Update Javadocs of methods that call Validate.notNull() to refer to NullPointerException instead of IllegalArgumentException for null values.

* Use Validate.notNull() instead of Validate.isTrue() to check for null values, and update the associated tests to check for NullPointerException instead of IllegalArgumentException.
2020-07-09 21:26:19 -04:00
.github/workflows Test major Java versions with GitHub actions as documented on 2020-05-30 11:00:18 -04:00
src Correct Javadocs of methods that use Validate.notNull() and replace some uses of Validate.isTrue() with Validate.notNull(). (#525) 2020-07-09 21:26:19 -04:00
.gitattributes Fixed line ending issues once and for all 2016-01-17 20:15:51 +01:00
.gitignore Ignore eclipse-cs generated file 2016-12-22 15:46:08 +00:00
.travis.yml refine travis-ci scripts (#531) 2020-07-09 08:57:12 -04:00
CONTRIBUTING.md Prepare for 3.10 RC1. 2020-03-23 09:10:49 -04:00
Jenkinsfile Add proposal for Jenkins Pipeline (#410) 2019-03-23 13:50:53 +01:00
LICENSE.txt Add blank line 2004-02-19 21:23:04 +00:00
NOTICE.txt Prepare for 3.10 RC1. 2020-03-23 09:10:49 -04:00
README.md Prepare for 3.10 RC1. 2020-03-23 09:10:49 -04:00
RELEASE-NOTES.txt Standardize on American English spelling of 'behavior'. 2020-03-30 15:03:29 -04:00
pom.xml org.junit.jupiter:junit-jupiter 5.6.1 -> 5.6.2. 2020-07-04 09:45:02 -04:00
spotbugs-exclude-filter.xml [LANG-1509] Add ObjectToStringComparator. (#483) 2020-01-01 09:31:22 -05:00

README.md

Apache Commons Lang

Build Status Coverage Status Maven Central Javadocs

Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.

Documentation

More information can be found on the Apache Commons Lang homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons Lang should be posted to the user mailing list.

Where can I get the latest release?

You can download source and binaries from our download page.

Alternatively you can pull it from the central Maven repositories:

<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-lang3</artifactId>
  <version>3.10</version>
</dependency>

Contributing

We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:

  • No tabs! Please use spaces for indentation.
  • Respect the code style.
  • Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
  • Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running mvn clean test.

If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.

License

This code is under the Apache Licence v2.

See the NOTICE.txt file for required notices and attributions.

Donations

You like Apache Commons Lang? Then donate back to the ASF to support the development.

Additional Resources