Apache Commons Lang
Go to file
Allon Mureinik 729adb624d Update builder tests to JUnit Jupiter
Upgrade the tests in the builder package to use JUnit Jupiter as part of
the effort to remove the dependency on the Vintage Engine.

While most of these changes are drop-in replacements with no functional
benefit, it is worth mentioning the change to how expected exceptions
are tested.
Unlike org.junit.Test, org.junit.jupiter.api.Test does not have an
"expected" argument. Instead, an explicit call to
org.junit.jupiter.api.Assertions.assertThrows is used. This call allows
the test to pinpoint the exact statement that is expected to throw the
expcetion and allows making the tests a bit stricter by preventing
false-positives that could occur if the setup code would throw the
expected exception instead of the statement that was supposed to throw
it.
2018-10-06 10:02:58 +02:00
src Update builder tests to JUnit Jupiter 2018-10-06 10:02:58 +02: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 Looks like Java 11 no longer fails the build 2018-08-23 19:20:21 +02:00
CONTRIBUTING.md Prepare for release 3.8. 2018-07-15 23:00:39 -06:00
LICENSE.txt Add blank line 2004-02-19 21:23:04 +00:00
NOTICE.txt Prepare for release 3.8. 2018-07-15 23:00:39 -06:00
README.md Fix dead links in README.md (closes #359) 2018-10-06 09:59:44 +02:00
RELEASE-NOTES.txt (fix) RELEASE-NOTES.txt on master to look like 3.8.1 dist 2018-09-22 17:45:29 -04:00
checkstyle-suppressions.xml Prevent redundant modifiers 2017-06-06 16:11:45 +02:00
checkstyle.xml make checkstyle config more portable (no maven coupling) 2017-09-09 08:51:49 +02:00
pom.xml Tagging commons-lang3-3.8.1 from RC1 2018-09-22 17:31:24 -04:00
spotbugs-exclude-filter.xml Replace FindBugs with SpotBugs 2018-08-28 19:00:26 +02: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.8.1</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